Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addListener(EventListener, String, ContextScope) - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
-
Add a listener for the provided scope as strong reference to the BEGINNING of a queue of listeners.
- addListener(EventListener, String, ContextScope) - Method in interface nl.tudelft.simulation.naming.context.event.EventContextInterface
-
Add a listener for the provided scope as strong reference to the BEGINNING of a queue of listeners.
- addListener(EventListener, String, ContextScope) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Add a listener for the provided scope as strong reference to the BEGINNING of a queue of listeners.
- addListener(EventListener, String, ContextScope) - Method in class nl.tudelft.simulation.naming.context.event.RemoteEventContext
-
Add a listener for the provided scope as strong reference to the BEGINNING of a queue of listeners.
- addListener(EventListener, String, ContextScope, int) - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
-
Add a listener for the provided scope as strong reference to the specified position of a queue of listeners.
- addListener(EventListener, String, ContextScope, int) - Method in interface nl.tudelft.simulation.naming.context.event.EventContextInterface
-
Add a listener for the provided scope as strong reference to the specified position of a queue of listeners.
- addListener(EventListener, String, ContextScope, int) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Add a listener for the provided scope as strong reference to the specified position of a queue of listeners.
- addListener(EventListener, String, ContextScope, int) - Method in class nl.tudelft.simulation.naming.context.event.RemoteEventContext
-
Add a listener for the provided scope as strong reference to the specified position of a queue of listeners.
- addListener(EventListener, String, ContextScope, int, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
-
Add a listener for the provided scope to the specified position of a queue of listeners.
- addListener(EventListener, String, ContextScope, int, ReferenceType) - Method in interface nl.tudelft.simulation.naming.context.event.EventContextInterface
-
Add a listener for the provided scope to the specified position of a queue of listeners.
- addListener(EventListener, String, ContextScope, int, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Add a listener for the provided scope to the specified position of a queue of listeners.
- addListener(EventListener, String, ContextScope, int, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.event.RemoteEventContext
-
Add a listener for the provided scope to the specified position of a queue of listeners.
- addListener(EventListener, String, ContextScope, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
-
Add a listener for the provided scope to the BEGINNING of a queue of listeners.
- addListener(EventListener, String, ContextScope, ReferenceType) - Method in interface nl.tudelft.simulation.naming.context.event.EventContextInterface
-
Add a listener for the provided scope to the BEGINNING of a queue of listeners.
- addListener(EventListener, String, ContextScope, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Add a listener for the provided scope to the BEGINNING of a queue of listeners.
- addListener(EventListener, String, ContextScope, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.event.RemoteEventContext
-
Add a listener for the provided scope to the BEGINNING of a queue of listeners.
- addListener(EventListener, EventType) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
- addListener(EventListener, EventType) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- addListener(EventListener, EventType, int) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
- addListener(EventListener, EventType, int) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- addListener(EventListener, EventType, int, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
- addListener(EventListener, EventType, int, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- addListener(EventListener, EventType, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
- addListener(EventListener, EventType, ReferenceType) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
B
- bind(String, Object) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Binds an object into the Context using the name.
- bind(String, Object) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Binds an object into the Context using the name.
- bind(String, Object) - Method in class nl.tudelft.simulation.naming.context.FileContext
-
Binds an object into the Context using the name.
- bind(String, Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Binds an object into the Context using the name.
- bind(String, Object) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Binds an object into the Context using the name.
- bindings() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Returns a (raw) map of bindings in the current context, mapping the name on the registered objects.
- bindings() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Returns a (raw) map of bindings in the current context, mapping the name on the registered objects.
- bindings() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Returns a (raw) map of bindings in the current context, mapping the name on the registered objects.
- bindings() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Returns a (raw) map of bindings in the current context, mapping the name on the registered objects.
- bindObject(Object) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Binds an object into the Context using the toString() method of the object as the key.
- bindObject(Object) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Binds an object into the Context using the toString() method of the object as the key.
- bindObject(Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Binds an object into the Context using the toString() method of the object as the key.
- bindObject(Object) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Binds an object into the Context using the toString() method of the object as the key.
- bindObject(String, Object) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Binds an object into this Context using the key.
- bindObject(String, Object) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Binds an object into this Context using the key.
- bindObject(String, Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Binds an object into this Context using the key.
- bindObject(String, Object) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Binds an object into this Context using the key.
- buildEnvironment(Hashtable<?, ?>) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Build the properties that the generation of the initial event context will use.
C
- checkCircular(Object) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Check whether a circular reference would occur when the object would be inserted into the current context.
- checkCircular(Object) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Check whether a circular reference would occur when the object would be inserted into the current context.
- checkCircular(Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Check whether a circular reference would occur when the object would be inserted into the current context.
- checkCircular(Object) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Check whether a circular reference would occur when the object would be inserted into the current context.
- close() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Closes the context and removes all content from the context.
- close() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Closes the context and removes all content from the context.
- close() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Closes the context and removes all content from the context.
- close() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Closes the context and removes all content from the context.
- contextEventProducerImpl - Variable in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
The event producer to which context events will be delegated for handling.
- ContextEventProducerImpl - Class in nl.tudelft.simulation.naming.context.event
-
ContextEventProducerImpl carries out the implementation for the EventContext classes.
- ContextEventProducerImpl(EventContext) - Constructor for class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
-
Create the ContextEventProducerImpl and link to the parent class.
- ContextEventProducerImpl.PatternListener - Class in nl.tudelft.simulation.naming.context.event
-
Pair of regular expression pattern and event listener.
- ContextFactory - Interface in nl.tudelft.simulation.naming.context
-
This interface represents a factory that creates an initial context.
- ContextInterface - Interface in nl.tudelft.simulation.naming.context
-
ContextInterface is the lightweight and simplified version of the JNDI EventContext interface in the standard Java distribution.
- ContextName(ContextInterface, String) - Constructor for class nl.tudelft.simulation.naming.context.JvmContext.ContextName
-
Instantiate a Context and Name combination.
- ContextScope - Enum Class in nl.tudelft.simulation.naming.context.event
-
ContextScope defines the area of interest for a Listener for the EventContextInterface.
- Contextualized - Interface in nl.tudelft.simulation.naming.context
-
Contextualized indicates that an object has (access to) a context.
- ContextUtil - Class in nl.tudelft.simulation.naming.context.util
-
ContextUtil contains a few helper methods to deal with an InitialEventContext.
- ContextUtil() - Constructor for class nl.tudelft.simulation.naming.context.util.ContextUtil
- createSubcontext(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Creates and binds a new context into the current Context using the name.
- createSubcontext(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Creates and binds a new context into the current Context using the name.
- createSubcontext(String) - Method in class nl.tudelft.simulation.naming.context.FileContext
-
Creates and binds a new context into the current Context using the name.
- createSubcontext(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Creates and binds a new context into the current Context using the name.
- createSubcontext(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Creates and binds a new context into the current Context using the name.
D
- defaultInitCtx - Variable in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
The initial context, usually built by a factory.
- destroy(ContextInterface) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Recursively unbind and destroy all keys and subcontexts from the given context, leaving it empty.
- destroySubcontext(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Removes the binding for an existing, empty subcontext with the given name, and recursively unbinds all objects and contexts in the context indicated by the name.
- destroySubcontext(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Removes the binding for an existing, empty subcontext with the given name, and recursively unbinds all objects and contexts in the context indicated by the name.
- destroySubcontext(String) - Method in class nl.tudelft.simulation.naming.context.FileContext
-
Removes the binding for an existing, empty subcontext with the given name, and recursively unbinds all objects and contexts in the context indicated by the name.
- destroySubcontext(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Removes the binding for an existing, empty subcontext with the given name, and recursively unbinds all objects and contexts in the context indicated by the name.
- destroySubcontext(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Removes the binding for an existing, empty subcontext with the given name, and recursively unbinds all objects and contexts in the context indicated by the name.
- destroySubContext(ContextInterface, String) - Static method in class nl.tudelft.simulation.naming.context.util.ContextUtil
-
Destroy a sub-context in the parentContext with the name as its path.
E
- elements - Variable in class nl.tudelft.simulation.naming.context.JvmContext
-
the children.
- embeddedContext - Variable in class nl.tudelft.simulation.naming.context.RemoteContext
-
The underlying event context.
- equals(Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext.ContextName
- EventContext - Interface in nl.tudelft.simulation.naming.context.event
-
EventContext is the tagging interface combining the ContextInterface, EventContextInterface, and EventProducer.
- EventContextInterface - Interface in nl.tudelft.simulation.naming.context.event
-
EventContextInterface specifies the subscription methods for a part of the context tree.
- exists(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Indicates whether an object with the given name has been registered in the Context.
- exists(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Indicates whether an object with the given name has been registered in the Context.
- exists(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Indicates whether an object with the given name has been registered in the Context.
- exists(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Indicates whether an object with the given name has been registered in the Context.
F
- FileContext - Class in nl.tudelft.simulation.naming.context
-
The FileContext as a file-based implementation of the ContextInterface.
- FileContext(File, String) - Constructor for class nl.tudelft.simulation.naming.context.FileContext
-
constructs a new FileContext.
- FileContext(File, ContextInterface, String) - Constructor for class nl.tudelft.simulation.naming.context.FileContext
-
constructs a new FileContext.
- FileContextFactory - Class in nl.tudelft.simulation.naming.context
-
A factory for FileContext instances, automatically invoked by JNDI when the correct jndi.properties file has been used.
- FileContextFactory() - Constructor for class nl.tudelft.simulation.naming.context.FileContextFactory
- fireChangedEvent(EventType, Serializable) - Method in class nl.tudelft.simulation.naming.context.RemoteContext.RemoteChangeEventProducer
-
Transmit an changed event with a serializable object as payload to all interested listeners.
- fireObjectChangedEventKey(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Fire an OBJECT_CHANGED_EVENT for an object with the given key in the current context.
- fireObjectChangedEventKey(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Fire an OBJECT_CHANGED_EVENT for an object with the given key in the current context.
- fireObjectChangedEventKey(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Fire an OBJECT_CHANGED_EVENT for an object with the given key in the current context.
- fireObjectChangedEventKey(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Fire an OBJECT_CHANGED_EVENT for an object with the given key in the current context.
- fireObjectChangedEventValue(Object) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Fire an OBJECT_CHANGED_EVENT for an object within the current context.
- fireObjectChangedEventValue(Object) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Fire an OBJECT_CHANGED_EVENT for an object within the current context.
- fireObjectChangedEventValue(Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Fire an OBJECT_CHANGED_EVENT for an object within the current context.
- fireObjectChangedEventValue(Object) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Fire an OBJECT_CHANGED_EVENT for an object within the current context.
G
- get(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Retrieves the named object from the Context.
- get(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Retrieves the named object from the Context.
- get(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Retrieves the named object from the Context.
- get(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Retrieves the named object from the Context.
- getAbsolutePath() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Returns the absolute path for this context, or an empty string when this is the root context.
- getAbsolutePath() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Returns the absolute path for this context, or an empty string when this is the root context.
- getAbsolutePath() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Returns the absolute path for this context, or an empty string when this is the root context.
- getAbsolutePath() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Returns the absolute path for this context, or an empty string when this is the root context.
- getAtomicName() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Retrieves the atomic name of this context.
- getAtomicName() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Retrieves the atomic name of this context.
- getAtomicName() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Retrieves the atomic name of this context.
- getAtomicName() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Retrieves the atomic name of this context.
- getContext() - Method in interface nl.tudelft.simulation.naming.context.Contextualized
-
Return the context.
- getContext() - Method in class nl.tudelft.simulation.naming.context.JvmContext.ContextName
- getDefaultInitCtx(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Retrieves the initial context by calling NamingManager.getInitialContext() and cache it in defaultInitCtx.
- getEnvironment() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Return a safe copy of the used environment variables.
- getEventListenerMap() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
- getEventListenerMap() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- getInitialContext(Hashtable<?, ?>, String) - Method in interface nl.tudelft.simulation.naming.context.ContextFactory
-
Creates an Initial Context for beginning name resolution.
- getInitialContext(Hashtable<?, ?>, String) - Method in class nl.tudelft.simulation.naming.context.FileContextFactory
-
Creates an Initial Context for beginning name resolution.
- getInitialContext(Hashtable<?, ?>, String) - Method in class nl.tudelft.simulation.naming.context.JvmContextFactory
-
Creates an Initial Context for beginning name resolution.
- getInitialContext(Hashtable<?, ?>, String) - Method in class nl.tudelft.simulation.naming.context.RemoteContextFactory
-
Creates an Initial Context for beginning name resolution.
- getListener() - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl.PatternListener
-
Return the registered listener for this pattern.
- getListenerReferences(EventType) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- getName() - Method in class nl.tudelft.simulation.naming.context.JvmContext.ContextName
- getObject(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Retrieves the named object from the Context.
- getObject(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Retrieves the named object from the Context.
- getObject(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Retrieves the named object from the Context.
- getObject(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Retrieves the named object from the Context.
- getParent() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Retrieves the parent context for this context, or null when this is the root context.
- getParent() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Retrieves the parent context for this context, or null when this is the root context.
- getParent() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Retrieves the parent context for this context, or null when this is the root context.
- getParent() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Retrieves the parent context for this context, or null when this is the root context.
- getPattern() - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl.PatternListener
-
return the compiled pattern.
- getRootContext() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Retrieves the root context for this context, or the current context when this is the root context.
- getRootContext() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Retrieves the root context for this context, or the current context when this is the root context.
- getRootContext() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Retrieves the root context for this context, or the current context when this is the root context.
- getRootContext() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Retrieves the root context for this context, or the current context when this is the root context.
- gotDefault - Variable in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
has the default context been generated?
H
- hashCode() - Method in class nl.tudelft.simulation.naming.context.JvmContext.ContextName
- hasKey(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Indicates whether the key has been registered in the current Context.
- hasKey(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Indicates whether the key has been registered in the current Context.
- hasKey(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Indicates whether the key has been registered in the current Context.
- hasKey(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Indicates whether the key has been registered in the current Context.
- hasObject(Object) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Indicates whether the object has been registered (once or more) in the current Context.
- hasObject(Object) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Indicates whether the object has been registered (once or more) in the current Context.
- hasObject(Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Indicates whether the object has been registered (once or more) in the current Context.
- hasObject(Object) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Indicates whether the object has been registered (once or more) in the current Context.
I
- init(Hashtable<?, ?>, String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Initializes the initial context using the supplied environment.
- INITIAL_CONTEXT_FACTORY - Static variable in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Constant that holds the name of the environment property for specifying the initial context factory to use.
- InitialEventContext - Class in nl.tudelft.simulation.naming.context.event
-
InitialEventContext class.
- instantiate(String) - Static method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Constructs an initial context using the supplied environment; no overriding environment variables are provided.
- instantiate(Hashtable<?, ?>, String) - Static method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Constructs an initial context using the supplied environment.
- isEmpty() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Indicates whether the current context is empty.
- isEmpty() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Indicates whether the current context is empty.
- isEmpty() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Indicates whether the current context is empty.
- isEmpty() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Indicates whether the current context is empty.
J
- JvmContext - Class in nl.tudelft.simulation.naming.context
-
The JvmContext is an in-memory, thread-safe context implementation of the ContextInterface.
- JvmContext(String) - Constructor for class nl.tudelft.simulation.naming.context.JvmContext
-
constructs a new root JvmContext.
- JvmContext(ContextInterface, String) - Constructor for class nl.tudelft.simulation.naming.context.JvmContext
-
Constructs a new JvmContext.
- JvmContext.ContextName - Class in nl.tudelft.simulation.naming.context
-
Record with Context and Name combination.
- JvmContextFactory - Class in nl.tudelft.simulation.naming.context
-
A factory for JvmContext instances, automatically invoked by JNDI when the correct jndi.properties file has been used.
- JvmContextFactory() - Constructor for class nl.tudelft.simulation.naming.context.JvmContextFactory
K
- keySet() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Returns a set of registered keys in the current context.
- keySet() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Returns a set of registered keys in the current context.
- keySet() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Returns a set of registered keys in the current context.
- keySet() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Returns a set of registered keys in the current context.
L
- LEVEL_OBJECT_SCOPE - Enum constant in enum class nl.tudelft.simulation.naming.context.event.ContextScope
-
Enum constant for expressing interest in events concerning objects in the context named by the target, including the context named by the target.
- LEVEL_SCOPE - Enum constant in enum class nl.tudelft.simulation.naming.context.event.ContextScope
-
Enum constant for expressing interest in events concerning objects in the context named by the target, excluding the context named by the target.
- lookup(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Take a (compound) name such as "sub1/sub2/key" or "key" or "/sub/key" and lookup the final sub-context of the path, and store it in the ContextName.
- lookupAndBuild(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Take a (compound) name such as "sub1/sub2/key" or "key" or "/sub/key" and lookup and/or create all intermediate contexts as well as the final sub-context of the path.
- lookupOrCreateSubContext(ContextInterface, String) - Static method in class nl.tudelft.simulation.naming.context.util.ContextUtil
-
Lookup or create a sub-context in the parentContext with the name as its path.
- lookupSubContext(ContextInterface, String) - Static method in class nl.tudelft.simulation.naming.context.util.ContextUtil
-
Lookup a sub-context in the parentContext with the name as its path.
M
- makeRegex(String, ContextScope) - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
-
Make a regular expression that matches the right paths to be matched.
- makeRegistryKey(String, ContextScope) - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
-
Make a key consisting of the full path of the subcontext (without the trailing slash) or object in the context tree, followed by a hash code (#) and the context scope string (OBJECT_SCOPE, LEVEL_SCOPE, LEVEL_OBJECT_SCOPE, or SUBTREE_SCOPE).
N
- nl.tudelft.simulation.naming.context - package nl.tudelft.simulation.naming.context
-
A Context is a JNDI-like implementation to provide tree storage for objects based on keys.
- nl.tudelft.simulation.naming.context.event - package nl.tudelft.simulation.naming.context.event
-
The naming.context.event package contains specific classes for contexts that can notify listeners about changes in the context tree or in its objects, based on a provided scope.
- nl.tudelft.simulation.naming.context.util - package nl.tudelft.simulation.naming.context.util
-
Utilities for JNDI-like contexts.
- notify(Event) - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
O
- OBJECT_ADDED_EVENT - Static variable in interface nl.tudelft.simulation.naming.context.ContextInterface
-
OBJECT_ADDED_EVENT is fired whenever an object is added to the Context.
- OBJECT_CHANGED_EVENT - Static variable in interface nl.tudelft.simulation.naming.context.ContextInterface
-
OBJECT_CHANGED_EVENT can be fired whenever an object present in the Context is changed.
- OBJECT_REMOVED_EVENT - Static variable in interface nl.tudelft.simulation.naming.context.ContextInterface
-
OBJECT_REMOVED_EVENT is fired whenever an object is removed from the Context.
- OBJECT_SCOPE - Enum constant in enum class nl.tudelft.simulation.naming.context.event.ContextScope
-
Enum constant for expressing interest in events concerning the object named by the target.
P
- parent - Variable in class nl.tudelft.simulation.naming.context.JvmContext
-
the parent context.
- PatternListener(Pattern, EventListener) - Constructor for class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl.PatternListener
-
Construct a pattern - listener pair.
- properties - Variable in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
the properties of the initialEventContext.
- PROVIDER_URL - Static variable in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Constant that holds the name of the environment property for specifying configuration information for the service provider to use.
R
- rebind(String, Object) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Replaces an object in the Context with the given name, or registers the object when a registration with the name does not exist yet.
- rebind(String, Object) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Replaces an object in the Context with the given name, or registers the object when a registration with the name does not exist yet.
- rebind(String, Object) - Method in class nl.tudelft.simulation.naming.context.FileContext
-
Replaces an object in the Context with the given name, or registers the object when a registration with the name does not exist yet.
- rebind(String, Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Replaces an object in the Context with the given name, or registers the object when a registration with the name does not exist yet.
- rebind(String, Object) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Replaces an object in the Context with the given name, or registers the object when a registration with the name does not exist yet.
- rebindObject(String, Object) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Replaces an object in this Context with the given key, or registers the object when a registration with the key does not exist yet.
- rebindObject(String, Object) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Replaces an object in this Context with the given key, or registers the object when a registration with the key does not exist yet.
- rebindObject(String, Object) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Replaces an object in this Context with the given key, or registers the object when a registration with the key does not exist yet.
- rebindObject(String, Object) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Replaces an object in this Context with the given key, or registers the object when a registration with the key does not exist yet.
- RemoteChangeEventProducer(String, int, String) - Constructor for class nl.tudelft.simulation.naming.context.RemoteContext.RemoteChangeEventProducer
-
Create a remote event listener and register the listener in the RMI registry.
- RemoteContext - Class in nl.tudelft.simulation.naming.context
-
Context that exists on another computer.
- RemoteContext(String, int, String, ContextInterface, String) - Constructor for class nl.tudelft.simulation.naming.context.RemoteContext
-
Constructs a new RemoteContext.
- RemoteContext(URL, ContextInterface, String) - Constructor for class nl.tudelft.simulation.naming.context.RemoteContext
-
Constructs a new RemoteContext.
- RemoteContext.RemoteChangeEventProducer - Class in nl.tudelft.simulation.naming.context
-
The RemoteChangeEventProducer is a RmiEventProducer that can fire an OBJECT_CHANGED_EVENT on behalf of an object that was changed, but does not extend an EventProducer itself.
- RemoteContextFactory - Class in nl.tudelft.simulation.naming.context
-
A factory for RemoteContextClient instances, automatically invoked by JNDI when the correct jndi.properties file has been used.
- RemoteContextFactory() - Constructor for class nl.tudelft.simulation.naming.context.RemoteContextFactory
- RemoteContextInterface - Interface in nl.tudelft.simulation.naming.context
-
RemoteContextInterface is a tagging interface that extends both ContectInterface and Remote, but that does not force any new methods to be implemented.
- RemoteEventContext - Class in nl.tudelft.simulation.naming.context.event
-
RemoteEventContext.java.
- RemoteEventContext(String, int, String, ContextInterface, String) - Constructor for class nl.tudelft.simulation.naming.context.event.RemoteEventContext
-
Constructs a new RemoteContext.
- RemoteEventContext(URL, ContextInterface, String) - Constructor for class nl.tudelft.simulation.naming.context.event.RemoteEventContext
-
Constructs a new RemoteContext.
- RemoteEventContextInterface - Interface in nl.tudelft.simulation.naming.context.event
-
RemoteEventContextInterface.java.
- remoteEventProducer - Variable in class nl.tudelft.simulation.naming.context.RemoteContext
-
The (remote) event producer for this context.
- removeAllListeners() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
- removeAllListeners() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- removeAllListeners(Class<?>) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- removeListener(EventListener, String, ContextScope) - Method in class nl.tudelft.simulation.naming.context.event.ContextEventProducerImpl
-
Remove the subscription of a listener for the provided scope for a specific event.
- removeListener(EventListener, String, ContextScope) - Method in interface nl.tudelft.simulation.naming.context.event.EventContextInterface
-
Remove the subscription of a listener for the provided scope for a specific event.
- removeListener(EventListener, String, ContextScope) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Remove the subscription of a listener for the provided scope for a specific event.
- removeListener(EventListener, String, ContextScope) - Method in class nl.tudelft.simulation.naming.context.event.RemoteEventContext
-
Remove the subscription of a listener for the provided scope for a specific event.
- removeListener(EventListener, EventType) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
- removeListener(EventListener, EventType) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- rename(String, String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Replaces the name under which an object has been registered in the Context.
- rename(String, String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Replaces the name under which an object has been registered in the Context.
- rename(String, String) - Method in class nl.tudelft.simulation.naming.context.FileContext
-
Replaces the name under which an object has been registered in the Context.
- rename(String, String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Replaces the name under which an object has been registered in the Context.
- rename(String, String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Replaces the name under which an object has been registered in the Context.
- REPLACE_SEPARATOR - Static variable in interface nl.tudelft.simulation.naming.context.ContextInterface
-
The replacement string for the separator, in case it is part of a name.
- resolveKeys(ContextInterface, Object) - Static method in class nl.tudelft.simulation.naming.context.util.ContextUtil
-
Resolve the key(s) for an object for a given context.
- ROOT - Static variable in interface nl.tudelft.simulation.naming.context.ContextInterface
-
The default root sign for a context.
S
- SEPARATOR - Static variable in interface nl.tudelft.simulation.naming.context.ContextInterface
-
The default separator sign for a context.
- SUBTREE_SCOPE - Enum constant in enum class nl.tudelft.simulation.naming.context.event.ContextScope
-
Enum constant for expressing interest in events concerning objects in the subtree of the object named by the target, including the object named by the target.
T
- toString() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
- toString() - Method in class nl.tudelft.simulation.naming.context.JvmContext.ContextName
- toString() - Method in class nl.tudelft.simulation.naming.context.JvmContext
- toString() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
- toString(boolean) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Return a String with the hierarchical content of the Context in case verbose is true; otherwise return the atomic name.
- toString(boolean) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Return a String with the hierarchical content of the Context in case verbose is true; otherwise return the atomic name.
- toString(boolean) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Return a String with the hierarchical content of the Context in case verbose is true; otherwise return the atomic name.
- toString(boolean) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Return a String with the hierarchical content of the Context in case verbose is true; otherwise return the atomic name.
- toText(ContextInterface) - Static method in class nl.tudelft.simulation.naming.context.util.ContextUtil
-
recursively print the context in human-readable format to a String.
U
- unbind(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Removes the binding for an object in the Context with the given name.
- unbind(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Removes the binding for an object in the Context with the given name.
- unbind(String) - Method in class nl.tudelft.simulation.naming.context.FileContext
-
Removes the binding for an object in the Context with the given name.
- unbind(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Removes the binding for an object in the Context with the given name.
- unbind(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Removes the binding for an object in the Context with the given name.
- unbindObject(String) - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Removes the binding for an object in this Context with the given key.
- unbindObject(String) - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Removes the binding for an object in this Context with the given key.
- unbindObject(String) - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Removes the binding for an object in this Context with the given key.
- unbindObject(String) - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Removes the binding for an object in this Context with the given key.
V
- valueOf(String) - Static method in enum class nl.tudelft.simulation.naming.context.event.ContextScope
-
Returns the enum constant of this class with the specified name.
- values() - Method in interface nl.tudelft.simulation.naming.context.ContextInterface
-
Returns a (raw) collection of registered values in the current context.
- values() - Static method in enum class nl.tudelft.simulation.naming.context.event.ContextScope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Returns a (raw) collection of registered values in the current context.
- values() - Method in class nl.tudelft.simulation.naming.context.JvmContext
-
Returns a (raw) collection of registered values in the current context.
- values() - Method in class nl.tudelft.simulation.naming.context.RemoteContext
-
Returns a (raw) collection of registered values in the current context.
W
- WRAPPED_CONTEXT_FACTORY - Static variable in class nl.tudelft.simulation.naming.context.event.InitialEventContext
-
Constant that holds the name of the environment property for specifying the initial context factory to use, as embedded factory in a remote context that is specified by the INITIAL_CONTEXT_FACTORY constant.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form