public interface BusinessContextFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
ContextSPI |
createContextSPI(ActivityToken token,
com.ibm.commerce.component.contextservice.ActivityData initData)
Creates a service provider interface object for the context associated with a given
activity and initialization data.
|
void |
destroyContextSPI(ContextSPI ctxSPI)
Returns a given context service provider interface object to the pool.
|
static final java.lang.String COPYRIGHT
ContextSPI createContextSPI(ActivityToken token, com.ibm.commerce.component.contextservice.ActivityData initData)
token
- the token of the activity that the context is to be associated withinitData
- the data that will determine which implementation class to use.
If the factory class is not attribute-based, this parameter is ignored.void destroyContextSPI(ContextSPI ctxSPI)
ctxSPI
- the service provider interface object to be returned