| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalStateManagerServiceHome
Home interface that can be looked up in JNDI and that provides access
to the portal state manager service.
Example:
PortalStateManagerServiceHome psh; javax.naming.Context ctx = new javax.naming.InitialContext(); try { psh = (PortalStateManagerServiceHome) ctx.lookup("portal:service/state/PortalStateManager"); } catch(javax.naming.NameNotFoundException ex) { ... error handling ... } ... // request the service via the home interface PortalStateManagerService service = psh.getPortalStateManagerService(request, response);
Method Summary | |
---|---|
PortalStateManagerService | getPortalStateManagerService(HttpServletRequest request,
HttpServletResponse response)
Returns a PortalStateManagerService instance which is valid within the scope of one request. |
PortalStateManagerService | getPortalStateManagerService(ServerContext context,
java.util.Locale locale,
Profile profile,
boolean isProtected,
boolean isSecure)
Returns a PortalStateManagerService instance. |
Method Detail |
---|
PortalStateManagerService getPortalStateManagerService(HttpServletRequest request, HttpServletResponse response) throws StateManagerException
null
.null
.
null
.
PortalStateManagerService getPortalStateManagerService(ServerContext context, java.util.Locale locale, Profile profile, boolean isProtected, boolean isSecure) throws StateManagerException
null
.Locale
object which is needed to create resource URLs
that address locale-specific resources (e.g. icons). May be null
.null
.null
.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |