|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalWcmPageContextServiceHome
Home interface of the WcmPageContextService
. An instance can be obtained as follows:
Context ctx = new InitialContext(); PortalWcmPageContextServiceHome myHome = (PortalWcmPageContextServiceHome) ctx .lookup(PortalWcmPageContextServiceHome.JNDI_NAME);
Field Summary | |
---|---|
static java.lang.String |
JNDI_NAME
The JNDI name used to bind the PortalWcmPageContextServiceHome singleton. |
Method Summary | |
---|---|
WcmPageContextService |
getWcmPageContextService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Gets an instance of the WcmPageContextService . |
WcmPageContextService |
getWcmPageContextService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Workspace workspace)
Gets an instance of the WcmPageContextService . |
Field Detail |
---|
static final java.lang.String JNDI_NAME
PortalWcmPageContextServiceHome
singleton.
Method Detail |
---|
WcmPageContextService getWcmPageContextService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws com.ibm.workplace.wcm.api.pagecontext.exception.PageContextServiceNotAvailableException
WcmPageContextService
. When calling this method a new WCM workspace is created.
The workspace is ended when calling WcmPageContextService.dispose()
.
request
- HttpServletRequestresponse
- HttpServletResponse
WcmPageContextService
com.ibm.workplace.wcm.api.pagecontext.exception.PageContextServiceNotAvailableException
WcmPageContextService getWcmPageContextService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Workspace workspace) throws com.ibm.workplace.wcm.api.pagecontext.exception.PageContextServiceNotAvailableException
WcmPageContextService
.
request
- HttpServletRequestresponse
- HttpServletResponseworkspace
- WCM workspace to be used by the service.
WcmPageContextService
com.ibm.workplace.wcm.api.pagecontext.exception.PageContextServiceNotAvailableException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |