|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.rf.util.context.AbstractContextFactory
com.sap.netweaver.bc.rf.util.context.AbstractDependentContextFactory
Abstract context factory base class for context factory interface implementations being dependent on other context factory implementations. No writing optional operations are supported in dependent context factories.
IContextFactory| Constructor Summary | |
protected |
AbstractDependentContextFactory()
Construct object of class AbstractDependentContextFactory. |
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sap.netweaver.bc.rf.util.context.IContextFactory |
getTypeUnsafeContext, getTypeUnsafeContextOrNullIfUnavailable, isAvailable, size |
| Constructor Detail |
protected AbstractDependentContextFactory()
throws ContextFactoryRegistrationError
ContextFactoryRegistrationError - when the context factory is
already registered with the context factory registry| Method Detail |
public void setTypeUnsafeContext(Object context)
throws UnsupportedOperationException
context - new actual context replacing the old one on the stack
UnsupportedOperationException - when the context factory isn't
supporting this writing optional operation
public void removeTypeUnsafeContext()
throws UnsupportedOperationException
UnsupportedOperationException - when the context factory isn't
supporting this writing optional operation
public Object popTypeUnsafeContext()
throws ContextUnavailableException,
UnsupportedOperationException
ContextUnavailableException - when no (more) context is available
on the context stack
UnsupportedOperationException - when the context factory isn't
supporting this writing optional operation
public void pushTypeUnsafeContext(Object context)
throws UnsupportedOperationException
context - new actual context
UnsupportedOperationException - when the context factory isn't
supporting this writing optional operation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||