IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.sca.context
Class CurrentCompositeContext

java.lang.Object
  extended by 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
CurrentCompositeContext()
           
 
Method Summary
static CompositeContext getContext()
          Returns the current composite context.
static CompositeContext 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

IBM WebSphere Application ServerTM
Release 8