org.osoa.sca
Class SCA

java.lang.Object
  extended by org.osoa.sca.SCA

public abstract class SCA
extends java.lang.Object

Class providing access to an SCA implementation. SCA implementation providers may allow applications to bootstrap an SCA environment by providing a publically available subclass.

Version:
$Rev: 431035 $ $Date: 2006-08-12 06:54:25 -0700 (Sat, 12 Aug 2006) $

Constructor Summary
SCA()
           
 
Method Summary
protected static void setCompositeContext(CompositeContext ctx)
          Protected method that allows an SCA implementation to set the current module context that will be returned by CurrentCompositeContext.getContext().
abstract  void start()
          Start the SCA implementation.
abstract  void stop()
          Stop the SCA implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCA

public SCA()
Method Detail

setCompositeContext

protected static void setCompositeContext(CompositeContext ctx)
Protected method that allows an SCA implementation to set the current module context that will be returned by CurrentCompositeContext.getContext().

Parameters:
ctx - the new current composite context

start

public abstract void start()
Start the SCA implementation. If this method completes successfully then a module context will be associated with the current thread.


stop

public abstract void stop()
Stop the SCA implementation. Once this method completes (successfully or abnormally) then no module context will be associated with the current thread.



Copyright © 2006 Apache Software Foundation. All Rights Reserved.