Package nl.tudelft.simulation.naming.context
A Context is a JNDI-like implementation to provide tree storage for objects based on keys. Storage can be in memory
(JVMContext), in files (FileContext) or on other computers (RemoteContext). In DSOL, statistics and animation objects are
stored in a context so they can be easily accessed.
Copyright (c) 2002-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
-
Interface Summary Interface Description ContextFactory This interface represents a factory that creates an initial context.ContextInterface ContextInterface is the lightweight and simplified version of the JNDI EventContext interface in the standard Java distribution.Contextualized Contextualized indicates that an object has (access to) a context.RemoteContextInterface RemoteContextInterface is a tagging interface that extends both ContectInterface and Remote, but that does not force any new methods to be implemented. -
Class Summary Class Description FileContext The FileContext as a file-based implementation of the ContextInterface.FileContextFactory A factory for FileContext instances, automatically invoked by JNDI when the correct jndi.properties file has been used.JVMContext The JVMContext is an in-memory, thread-safe context implementation of the ContextInterface.JVMContext.ContextName Record with Context and Name combination.JVMContextFactory A factory for JVMContext instances, automatically invoked by JNDI when the correct jndi.properties file has been used.RemoteContext Context that exists on another computer.RemoteContextFactory A factory for RemoteContextClient instances, automatically invoked by JNDI when the correct jndi.properties file has been used.