org.activemq.jndi
Class LazyCreateContext
java.lang.Object
org.activemq.jndi.ReadOnlyContext
org.activemq.jndi.LazyCreateContext
- All Implemented Interfaces:
- Serializable, Context
public abstract class LazyCreateContext
- extends ReadOnlyContext
Allows users to dynamically create items
- Version:
- $Revision: 1.1 $
- See Also:
- Serialized Form
Fields inherited from interface javax.naming.Context |
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
Methods inherited from class org.activemq.jndi.ReadOnlyContext |
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, freeze, getEnvironment, getNameInNamespace, getNameParser, getNameParser, internalBind, list, list, listBindings, listBindings, lookup, lookupLink, lookupLink, newContext, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyCreateContext
public LazyCreateContext()
lookup
public Object lookup(String name)
throws NamingException
- Specified by:
lookup
in interface Context
- Overrides:
lookup
in class ReadOnlyContext
- Throws:
NamingException
createEntry
protected abstract Object createEntry(String name)
Copyright © 2004-2008 Protique, Ltd.. All Rights Reserved.