de.jiac.micro.core.scope
Class Scope
java.lang.Object
de.jiac.micro.core.scope.Scope
- All Implemented Interfaces:
- IScope
- Direct Known Subclasses:
- AgentScope, NodeScope
public class Scope
- extends Object
- implements IScope
- Version:
- $Revision$
- Author:
- Erdene-Ochir Tuguldur, Marcel Patzlaff
|
Constructor Summary |
protected |
Scope(String runnerName,
Class configurationSuperClass)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Scope
protected Scope(String runnerName,
Class configurationSuperClass)
getScope
public static Scope getScope()
throws IllegalThreadStateException
- Throws:
IllegalThreadStateException
getScope
protected static Scope getScope(Class scopeType)
throws IllegalThreadStateException
- Throws:
IllegalThreadStateException
createScopeAwareThread
public static Thread createScopeAwareThread(Scope scope,
Runnable target,
String name)
createScopeAwareThread
public static final Thread createScopeAwareThread(Runnable target,
String name)
getContainer
public static final IContainer getContainer()
executeInScope
public static final void executeInScope(Runnable runnable)
getScopeMemory
public final IScopeMemory getScopeMemory()
getContainerReference
public final IContainer getContainerReference()
- Specified by:
getContainerReference in interface IScope
signal
public final void signal(byte signal)
- Specified by:
signal in interface IScope
setup
public final void setup(com.github.libxjava.lang.IClassLoader classLoader,
String configurationClassName,
IScope.IScopeStateChangeListener listener)
- Specified by:
setup in interface IScope
Copyright © 2008-2011 DAI-Labor. All Rights Reserved.