com.ibm.websphere.sca.context
Class CurrentCompositeContext
- java.lang.Object
com.ibm.websphere.sca.context.CurrentCompositeContext
- public class CurrentCompositeContext
- extends java.lang.Object
Constructor Summary
Constructor and Description |
---|
CurrentCompositeContext()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getContext()
Returns the current composite context.
|
|
setContext(CompositeContext context)
Sets the current composite context.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
CurrentCompositeContext
- public CurrentCompositeContext( )
Method Detail
getContext
- public static CompositeContext getContext( )
Returns the current composite context.
Returns:
the current composite context, may be null
setContext
- public static CompositeContext setContext( CompositeContext context)
Sets the current composite context.
Parameters:
context
- to associated; may be null Returns:
the context previously associated, may be null