Uses of Interface
nl.tudelft.simulation.naming.context.ContextInterface
-
Packages that use ContextInterface Package Description 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 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 Utilities for JNDI-like contexts. -
-
Uses of ContextInterface in nl.tudelft.simulation.naming.context
Subinterfaces of ContextInterface in nl.tudelft.simulation.naming.context Modifier and Type Interface Description interfaceRemoteContextInterfaceRemoteContextInterface is a tagging interface that extends both ContectInterface and Remote, but that does not force any new methods to be implemented.Classes in nl.tudelft.simulation.naming.context that implement ContextInterface Modifier and Type Class Description classFileContextThe FileContext as a file-based implementation of the ContextInterface.classJvmContextThe JvmContext is an in-memory, thread-safe context implementation of the ContextInterface.classRemoteContextContext that exists on another computer.Fields in nl.tudelft.simulation.naming.context declared as ContextInterface Modifier and Type Field Description protected ContextInterfaceRemoteContext. embeddedContextThe underlying event context.protected ContextInterfaceJvmContext. parentthe parent context.Methods in nl.tudelft.simulation.naming.context that return ContextInterface Modifier and Type Method Description ContextInterfaceContextInterface. createSubcontext(String name)Creates and binds a new context into the current Context using the name.ContextInterfaceFileContext. createSubcontext(String name)Creates and binds a new context into the current Context using the name.ContextInterfaceJvmContext. createSubcontext(String name)Creates and binds a new context into the current Context using the name.ContextInterfaceRemoteContext. createSubcontext(String name)Creates and binds a new context into the current Context using the name.ContextInterfaceContextualized. getContext()Return the context.ContextInterfaceJvmContext.ContextName. getContext()ContextInterfaceContextFactory. getInitialContext(Hashtable<?,?> environment, String atomicName)Creates an Initial Context for beginning name resolution.ContextInterfaceFileContextFactory. getInitialContext(Hashtable<?,?> environment, String atomicName)Creates an Initial Context for beginning name resolution.ContextInterfaceJvmContextFactory. getInitialContext(Hashtable<?,?> environment, String atomicName)Creates an Initial Context for beginning name resolution.ContextInterfaceRemoteContextFactory. getInitialContext(Hashtable<?,?> environment, String atomicName)Creates an Initial Context for beginning name resolution.ContextInterfaceContextInterface. getParent()Retrieves the parent context for this context, or null when this is the root context.ContextInterfaceJvmContext. getParent()Retrieves the parent context for this context, or null when this is the root context.ContextInterfaceRemoteContext. getParent()Retrieves the parent context for this context, or null when this is the root context.ContextInterfaceContextInterface. getRootContext()Retrieves the root context for this context, or the current context when this is the root context.ContextInterfaceJvmContext. getRootContext()Retrieves the root context for this context, or the current context when this is the root context.ContextInterfaceRemoteContext. getRootContext()Retrieves the root context for this context, or the current context when this is the root context.protected ContextInterfaceJvmContext. lookupAndBuild(String name)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.Methods in nl.tudelft.simulation.naming.context with parameters of type ContextInterface Modifier and Type Method Description protected voidJvmContext. destroy(ContextInterface context)Recursively unbind and destroy all keys and subcontexts from the given context, leaving it empty.Constructors in nl.tudelft.simulation.naming.context with parameters of type ContextInterface Constructor Description ContextName(ContextInterface context, String name)Instantiate a Context and Name combination.FileContext(File file, ContextInterface parent, String atomicName)constructs a new FileContext.JvmContext(ContextInterface parent, String atomicName)Constructs a new JvmContext.RemoteContext(String host, int port, String bindingKey, ContextInterface embeddedContext, String eventProducerBindingKey)Constructs a new RemoteContext.RemoteContext(URL registryURL, ContextInterface embeddedContext, String eventProducerBindingKey)Constructs a new RemoteContext. -
Uses of ContextInterface in nl.tudelft.simulation.naming.context.event
Subinterfaces of ContextInterface in nl.tudelft.simulation.naming.context.event Modifier and Type Interface Description interfaceEventContextEventContext is the tagging interface combining the ContextInterface, EventContextInterface, and EventProducer.interfaceRemoteEventContextInterfaceRemoteEventContextInterface.java.Classes in nl.tudelft.simulation.naming.context.event that implement ContextInterface Modifier and Type Class Description classInitialEventContextInitialEventContext class.classRemoteEventContextRemoteEventContext.java.Fields in nl.tudelft.simulation.naming.context.event declared as ContextInterface Modifier and Type Field Description protected ContextInterfaceInitialEventContext. defaultInitCtxThe initial context, usually built by a factory.Methods in nl.tudelft.simulation.naming.context.event that return ContextInterface Modifier and Type Method Description ContextInterfaceInitialEventContext. createSubcontext(String name)Creates and binds a new context into the current Context using the name.protected ContextInterfaceInitialEventContext. getDefaultInitCtx(String atomicName)Retrieves the initial context by calling NamingManager.getInitialContext() and cache it in defaultInitCtx.ContextInterfaceInitialEventContext. getParent()Retrieves the parent context for this context, or null when this is the root context.ContextInterfaceInitialEventContext. getRootContext()Retrieves the root context for this context, or the current context when this is the root context.Constructors in nl.tudelft.simulation.naming.context.event with parameters of type ContextInterface Constructor Description RemoteEventContext(String host, int port, String bindingKey, ContextInterface embeddedContext, String eventProducerBindingKey)Constructs a new RemoteContext.RemoteEventContext(URL registryURL, ContextInterface embeddedContext, String eventProducerBindingKey)Constructs a new RemoteContext. -
Uses of ContextInterface in nl.tudelft.simulation.naming.context.util
Methods in nl.tudelft.simulation.naming.context.util that return ContextInterface Modifier and Type Method Description static ContextInterfaceContextUtil. lookupOrCreateSubContext(ContextInterface parentContext, String name)Lookup or create a sub-context in the parentContext with the name as its path.static ContextInterfaceContextUtil. lookupSubContext(ContextInterface parentContext, String name)Lookup a sub-context in the parentContext with the name as its path.Methods in nl.tudelft.simulation.naming.context.util with parameters of type ContextInterface Modifier and Type Method Description static voidContextUtil. destroySubContext(ContextInterface parentContext, String name)Destroy a sub-context in the parentContext with the name as its path.static ContextInterfaceContextUtil. lookupOrCreateSubContext(ContextInterface parentContext, String name)Lookup or create a sub-context in the parentContext with the name as its path.static ContextInterfaceContextUtil. lookupSubContext(ContextInterface parentContext, String name)Lookup a sub-context in the parentContext with the name as its path.static List<String>ContextUtil. resolveKeys(ContextInterface startContext, Object object)Resolve the key(s) for an object for a given context.static StringContextUtil. toText(ContextInterface ctx)recursively print the context in human-readable format to a String.
-