com.ibm.websphere.sca.context

Class CurrentCompositeContext

  1. java.lang.Object
  2. extended bycom.ibm.websphere.sca.context.CurrentCompositeContext

  1. public class CurrentCompositeContext
  2. 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

Constructor and Description
CurrentCompositeContext()

Method Summary

Modifier and Type Method and Description
  1. static
  2. CompositeContext
getContext()
Returns the current composite context.
  1. static
  2. 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

  1. public CurrentCompositeContext( )

Method Detail

getContext

  1. public static CompositeContext getContext( )
Returns the current composite context.
Returns:
the current composite context, may be null

setContext

  1. 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