| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PortalPocServiceHome
Home interface that can be looked up in JNDI and that provides access to the
POC services from the context of a portal request.
Example:
PortalPocServiceHome psh;
javax.naming.Context ctx = new javax.naming.InitialContext();
try {
psh = (PortalPocServiceHome)
ctx.lookup("portal:service/resolver/PocService");
} catch(javax.naming.NameNotFoundException ex) {
... error handling ...
}
...
// request the service via the home interface
PortalPocService service = psh.getPortalPocService(request, response);
...
service.dispose();
| Field Summary | |
|---|---|
| static java.lang.String | ATTR_CLASS
name of the class attribute used for instantiation |
| static java.lang.String | DEFAULT_EXTENSION_ID
ID of the default implementation of the PortalPocServiceHome |
| static java.lang.String | EXTENSION_POINT_ID
ID of the PortalPocServiceHome extension point |
| static java.lang.String | JNDI_NAME
JNDI name of this service |
| Method Summary | |
|---|---|
| PortalPocService | getPortalPocService(HttpServletRequest request,
HttpServletResponse response)
Returns a PortalPocService instance which is valid within the scope of one request. |
| Field Detail |
|---|
static final java.lang.String JNDI_NAME
static final java.lang.String EXTENSION_POINT_ID
static final java.lang.String DEFAULT_EXTENSION_ID
static final java.lang.String ATTR_CLASS
| Method Detail |
|---|
PortalPocService getPortalPocService(HttpServletRequest request,
HttpServletResponse response)
throws StateManagerException
null.null.
null.
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||