public abstract class AbstractDependentContextFactory extends AbstractContextFactory
Created 20. Januar 2003
IContextFactory
Modifier | Constructor and Description |
---|---|
protected |
AbstractDependentContextFactory()
Construct object of class AbstractDependentContextFactory.
|
Modifier and Type | Method and Description |
---|---|
Object |
popTypeUnsafeContext()
Get and remove actual context from the stack of contexts.
|
void |
pushTypeUnsafeContext(Object context)
Add new context to the top of the stack of contexts.
|
void |
removeTypeUnsafeContext()
Remove actual context including all other stacked contexts completely
(optional operation).
|
void |
setTypeUnsafeContext(Object context)
Replace actual context with new one in stack of contexts.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTypeUnsafeContext, getTypeUnsafeContextOrNullIfUnavailable, isAvailable, size
protected AbstractDependentContextFactory() throws ContextFactoryRegistrationError
ContextFactoryRegistrationError
- when the context factory is
already registered with the context factory registrypublic void setTypeUnsafeContext(Object context) throws UnsupportedOperationException
context
- new actual context replacing the old one on the stackUnsupportedOperationException
- when the context factory isn't
supporting this writing optional operationpublic void removeTypeUnsafeContext() throws UnsupportedOperationException
UnsupportedOperationException
- when the context factory isn't
supporting this writing optional operationpublic Object popTypeUnsafeContext() throws ContextUnavailableException, UnsupportedOperationException
ContextUnavailableException
- when no (more) context is available
on the context stackUnsupportedOperationException
- when the context factory isn't
supporting this writing optional operationpublic void pushTypeUnsafeContext(Object context) throws UnsupportedOperationException
context
- new actual contextUnsupportedOperationException
- when the context factory isn't
supporting this writing optional operationAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice