|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.naming.context.ContextUtil
nl.tudelft.simulation.dsol.context.ContextUtil
public final class ContextUtil
ContextUtil provides utility methods to resolve and bind objects to the
context based on their experiment dependent path.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Method Summary | |
---|---|
static void |
bindToContext(SimulatorInterface simulator,
Object object)
binds an object to the context |
static void |
bindToContext(SimulatorInterface simulator,
String context,
Object object)
binds an object to the context |
static void |
createSubContext(SimulatorInterface simulator,
String subContext)
creates a subContext in the context |
static void |
createSubContext(SimulatorInterface simulator,
String context,
String subContext)
creates a subContext in the context |
Methods inherited from class nl.tudelft.simulation.naming.context.ContextUtil |
---|
resolveKey, unbindFromContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void createSubContext(SimulatorInterface simulator, String subContext)
simulator
- the simulatorsubContext
- the context to createpublic static void createSubContext(SimulatorInterface simulator, String context, String subContext)
simulator
- the simulatorcontext
- the contextsubContext
- the context to createpublic static void bindToContext(SimulatorInterface simulator, Object object)
simulator
- the simulatorobject
- the objectpublic static void bindToContext(SimulatorInterface simulator, String context, Object object)
simulator
- the simulatorcontext
- the context in this treeobject
- the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |