PREV CLASS
NEXT CLASS
com.ibm.portal.resourceaggregator.combiner
Interface CorResourceCombinerServiceHome
- All Superinterfaces:
- ResourceCombinerServiceHome
-
public interface CorResourceCombinerServiceHome
- extends ResourceCombinerServiceHome
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.
- Since:
- 8.5.0.3
Field Summary
|
static java.lang.String |
JNDI_NAME
The JNDI name used to bind the
CorResourceCombinerServiceHome singleton. |
JNDI_NAME
static final java.lang.String JNDI_NAME
- The JNDI name used to bind the
CorResourceCombinerServiceHome singleton.
- See Also:
- Constant Field Values
getResourceCombinerService
ResourceCombinerService getResourceCombinerService(Context context)
throws java.lang.Exception
- Returns the resource combiner service.
- Parameters:
- context - the cor context
- Returns:
- an instance of ResourceCombinerService, never null
- Throws:
- java.lang.Exception
PREV CLASS
NEXT CLASS