seda.sandStorm.api.internal
Interface SystemManagerIF

All Known Implementing Classes:
sandStormMgr

public interface SystemManagerIF

SystemManagerIF is an internal interface allowing modules to access systemwide features. For now this allows a module to access, create, and destroy thread managers. It also allows a module to create a stage with its own stage wrapper.


Method Summary
 void addThreadManager(java.lang.String name, ThreadManagerIF threadmgr)
          Add a thread manager to the system.
 StageIF createStage(StageWrapperIF wrapper, boolean initialize)
          Create a stage from the given stage wrapper.
 ThreadManagerIF getThreadManager()
          Get the default thread manager.
 ThreadManagerIF getThreadManager(java.lang.String name)
          Get the thread manager registered under the given name.
 

Method Detail

getThreadManager

ThreadManagerIF getThreadManager()
Get the default thread manager.


getThreadManager

ThreadManagerIF getThreadManager(java.lang.String name)
Get the thread manager registered under the given name.


addThreadManager

void addThreadManager(java.lang.String name,
                      ThreadManagerIF threadmgr)
Add a thread manager to the system.


createStage

StageIF createStage(StageWrapperIF wrapper,
                    boolean initialize)
                    throws java.lang.Exception
Create a stage from the given stage wrapper. If 'initialize' is true, the stage will be initialized immediately. Returns a handle to the stage.

Throws:
java.lang.Exception