com.ibm.websphere.sca.context
Class CurrentCompositeContext
- java.lang.Object
-
- com.ibm.websphere.sca.context.CurrentCompositeContext
-
public class CurrentCompositeContext extends java.lang.Object
org.osoa.sca.CurrentCompositeContext was removed from the 1.0 version of the SCA spec. This class provides a replacement for the function that was removed.
-
-
Constructor Summary
Constructors Constructor and Description CurrentCompositeContext()
-
Method Summary
Methods Modifier and Type Method and Description static CompositeContext
getContext()
Returns the current composite context.static CompositeContext
setContext(CompositeContext context)
Sets the current composite context.
-
-
-
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
-
-