|
Novell exteNd Director 5.0 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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.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 EbiJdbcMetaDataQuery |
getJdbcMetaDataQuery(String queryType)
Gets an EbiJdbcMetaDataQuery object. |
static EbiJdbcMetaDataQuery |
getJdbcMetaDataQuery(String queryType,
String dataSource)
Gets an EbiJdbcMetaDataQuery object. |
static EbiJdbcQuery |
getJdbcQuery(String queryType)
Gets an EbiJdbcQuery object. |
static EbiJdbcQuery |
getJdbcQuery(String queryType,
String dataSource)
Gets an EbiJdbcQuery object. |
static EbiJndiMetaDataQuery |
getJndiMetaDataQuery(String queryType)
Gets an EbiJndiMetaDataQuery object. |
static 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)
Adds services to the current factory |
static void |
loadServices(InputStream in,
String namespace)
Adds services to the current factory |
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)
public static void loadServices(InputStream in, String namespace)
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 filepublic 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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.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 EbiJdbcQuery getJdbcQuery(String queryType) throws EboFactoryException
queryType
- interface of the specified JDBC query object.public static 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 EbiJdbcMetaDataQuery getJdbcMetaDataQuery(String queryType) throws EboFactoryException
queryType
- interface of the specified JDBC MetaData query object.public static 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 EbiJndiQuery getJndiQuery(String queryType) throws EboFactoryException
queryType
- interface of the specified JNDI query object.public static 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.0 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |