|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.fw.factory.EboFactory
This is the portal factory class that manages portal objects
Constructor Summary | |
EboFactory()
|
Method Summary | |
static EbiContext |
createEbiContext()
Creates an EbiContext object. |
static EbiContext |
createEbiContext(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
javax.portlet.PortletContext ctxt)
Creates an EbiContext object that is associatd with portlet action request and response. |
static EbiContext |
createEbiContext(EbiSession session)
Creates an EbiContext object that is associated with an EbiSession object. |
static EbiContext |
createEbiContext(com.sssw.fw.factory.EJBContext ejbctx)
Creates an EbiContext object that is associated with an ejb context. |
static EbiContext |
createEbiContext(HttpServletRequest request,
HttpServletResponse response,
ServletContext servletCtx)
Creates an EbiContext object that is associatd with http request and response. |
static EbiContext |
createEbiContext(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
javax.portlet.PortletContext ctxt)
Creates an EbiContext object that is associatd with portlet render request and response. |
static EbiScopedPath |
createScopedPath(String scopedPath)
Creates an EbiScopedPath object. |
static EbiCacheManager |
getCacheManager()
Gets Cache Manager singleton object. |
static EbiConfig |
getConfig()
Gets the config object for the portal. |
static EbiDelegate |
getDelegate(String delegateType)
Gets an EbiDelegate object. |
static EbiDelegate |
getDelegate(String delegateType,
String serviceLocation)
Gets an EbiDelegate object. |
static EbiElement |
getElement(String elementType)
Gets an EbiElement element object. |
static EbiSrvLifetimeCacheHolder |
getGlobalCacheHolder()
Gets the global EbiCacheHolder object. |
static com.sssw.fw.persist.jdbc.api.EbiJdbcMetaDataQuery |
getJdbcMetaDataQuery(String queryType)
Gets an EbiJdbcMetaDataQuery object. |
static com.sssw.fw.persist.jdbc.api.EbiJdbcMetaDataQuery |
getJdbcMetaDataQuery(String queryType,
String dataSource)
Gets an EbiJdbcMetaDataQuery object. |
static com.sssw.fw.persist.jdbc.api.EbiJdbcQuery |
getJdbcQuery(String queryType)
Gets an EbiJdbcQuery object. |
static com.sssw.fw.persist.jdbc.api.EbiJdbcQuery |
getJdbcQuery(String queryType,
String dataSource)
Gets an EbiJdbcQuery object. |
static com.sssw.fw.persist.jndi.api.EbiJndiMetaDataQuery |
getJndiMetaDataQuery(String queryType)
Gets an EbiJndiMetaDataQuery object. |
static com.sssw.fw.persist.jndi.api.EbiJndiQuery |
getJndiQuery(String queryType)
Gets an EbiJndiQuery object. |
static EbiQuery |
getQuery(String queryType)
Gets an EbiQuery object. |
static EbiSrvLifetimeCacheHolder |
getServerLifetimeCacheHolder(String cacheHolderID)
Gets a server lifetime cache holder object. |
static EbiSrvLifetimeCacheHolder |
getServerLifetimeCacheHolder(String cacheHolderType,
String cacheHolderID)
Gets a server lifetime cache holder object. |
static EbiServiceLocator |
getServiceLocator()
Gets the ServiceLocator singleton. |
static com.sssw.fw.api.EbiSessionManager |
getSessionManager()
Gets Session Manager singleton object. |
static Map |
getStartsWith(String startsWith)
Gets all services that start with the specified string. |
static EbiThreadPoolManager |
getThreadPoolManager()
Gets the ThreadPool Mananger. |
static void |
loadServices(InputStream in)
Deprecated. Please use the signature of this method that takes the subsystem name. |
static void |
loadServices(InputStream in,
String namespace)
Deprecated. Please use the signature of this method that takes the subsystem name. |
static void |
loadServices(String subsystemName,
InputStream in)
Adds services to the current factory. |
static void |
loadServices(String subsystemName,
String namespace,
InputStream in)
Adds services to the current factory with the given namespace. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public EboFactory()
Method Detail |
public static EbiThreadPoolManager getThreadPoolManager() throws EboFactoryException
public static EbiCacheManager getCacheManager() throws EboFactoryException
public static com.sssw.fw.api.EbiSessionManager getSessionManager() throws EboFactoryException
public static EbiConfig getConfig()
public static void loadServices(InputStream in) throws EboFactoryException
in
- An inputstream to a valid services xml documentEboFactory.loadServices(java.lang.String, java.io.InputStream)
public static void loadServices(InputStream in, String namespace) throws EboFactoryException
in
- An inputstream to a valid services xml documentnamespace
- the namespace prefix to prepend to the service ID
for services which are specified to be namespaced by the services fileEboFactory.loadServices(java.lang.String, java.lang.String, java.io.InputStream)
public static void loadServices(String subsystemName, String namespace, InputStream in) throws EboFactoryException
subsystemName
- String name of the subsystem to associate with the services.
This should not be null, and if it is, an NPE will be thrown.namespace
- the namespace prefix to prepend to the service ID
for services which are specified to be namespaced by the services filein
- An inputstream to a valid services xml documentpublic static void loadServices(String subsystemName, InputStream in) throws EboFactoryException
subsystemName
- String name of the subsystem to associate with the services.
This should not be null, and if it is, an NPE will be thrown.in
- An inputstream to a valid services xml documentpublic static EbiElement getElement(String elementType) throws EboFactoryException
elementType
- interface of the specified element.public static EbiScopedPath createScopedPath(String scopedPath) throws EboFactoryException
scopedPath
- string representing the desired scoped pathpublic static EbiContext createEbiContext() throws EboFactoryException
public static EbiContext createEbiContext(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, javax.portlet.PortletContext ctxt) throws EboFactoryException
request
- a portlet render request.response
- a portlet render response.ctxt
- the PortletContextpublic static EbiContext createEbiContext(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, javax.portlet.PortletContext ctxt) throws EboFactoryException
request
- a portlet action request.response
- a portlet action response.ctxt
- the PortletContextpublic static EbiContext createEbiContext(HttpServletRequest request, HttpServletResponse response, ServletContext servletCtx) throws EboFactoryException
request
- an http request.response
- an http response.servletCtx
- a Servlet Context.public static EbiContext createEbiContext(com.sssw.fw.factory.EJBContext ejbctx) throws EboFactoryException
ejbctx
- an EJB context.public static EbiContext createEbiContext(EbiSession session) throws EboFactoryException
session
- an EbiSession object.public static EbiQuery getQuery(String queryType) throws EboFactoryException
queryType
- interface of the specified query object.public static com.sssw.fw.persist.jdbc.api.EbiJdbcQuery getJdbcQuery(String queryType) throws EboFactoryException
queryType
- interface of the specified JDBC query object.public static com.sssw.fw.persist.jdbc.api.EbiJdbcQuery getJdbcQuery(String queryType, String dataSource) throws EboFactoryException
queryType
- interface of the specified JDBC query object.dataSource
- name of the data source for which the query should be
formulated.public static com.sssw.fw.persist.jdbc.api.EbiJdbcMetaDataQuery getJdbcMetaDataQuery(String queryType) throws EboFactoryException
queryType
- interface of the specified JDBC MetaData query object.public static com.sssw.fw.persist.jdbc.api.EbiJdbcMetaDataQuery getJdbcMetaDataQuery(String queryType, String dataSource) throws EboFactoryException
queryType
- interface of the specified JDBC MetaData query object.dataSource
- name of the data source for which the query should be
formulated.public static com.sssw.fw.persist.jndi.api.EbiJndiQuery getJndiQuery(String queryType) throws EboFactoryException
queryType
- interface of the specified JNDI query object.public static com.sssw.fw.persist.jndi.api.EbiJndiMetaDataQuery getJndiMetaDataQuery(String queryType) throws EboFactoryException
queryType
- interface of the specified JNDI query object.public static Map getStartsWith(String startsWith)
startsWith
- the prefix string.public static EbiDelegate getDelegate(String delegateType) throws EboFactoryException
delegateType
- interface of the specified delegate object.public static EbiDelegate getDelegate(String delegateType, String serviceLocation) throws EboFactoryException
delegateType
- interface of the specified delegate object.serviceLocation
- location of the underlying service.public static EbiServiceLocator getServiceLocator() throws EboFactoryException
public static EbiSrvLifetimeCacheHolder getGlobalCacheHolder() throws EboFactoryException
public static EbiSrvLifetimeCacheHolder getServerLifetimeCacheHolder(String cacheHolderID)
cacheHolderID
- cache holder identifier.public static EbiSrvLifetimeCacheHolder getServerLifetimeCacheHolder(String cacheHolderType, String cacheHolderID)
cacheHolderType
- cache holder type
(defined in com.sssw.fw.cachemgr.api.EbiCacheConstants)cacheHolderID
- cache holder identifier.
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |