|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CorResourceCombinerServiceHome
Home interface for the portlet service for
ResourceCombinerService
A lookup for the ResourceCombinerService
can be performed as
follows:
Context ctx = new InitialContext(); CorResourceCombinerServiceHome home = (CorResourceCombinerServiceHome) ctx.lookup(CorResourceCombinerServiceHome.JNDI_NAME); if (home != null) { ResourceCombinerService resourceCombinerService = home.getResourceCombinerService(corContext); ... }
Note: The home object should be held as long as possible, i. e. only
the lookup to the model, which is COR
context dependent, should
be performed on every context.
Field Summary | |
---|---|
static java.lang.String |
JNDI_NAME
The JNDI name used to bind the CorResourceCombinerServiceHome singleton. |
Method Summary | |
---|---|
ResourceCombinerService |
getResourceCombinerService(Context context)
Returns the resource combiner service. |
Methods inherited from interface com.ibm.portal.resourceaggregator.combiner.ResourceCombinerServiceHome |
---|
createResourceList, createResourceVariations |
Field Detail |
---|
static final java.lang.String JNDI_NAME
CorResourceCombinerServiceHome
singleton.
Method Detail |
---|
ResourceCombinerService getResourceCombinerService(Context context) throws java.lang.Exception
context
- the cor context
ResourceCombinerService
, never null
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |