org.mortbay.jetty.plus.naming
Class EnvEntry
java.lang.Object
org.mortbay.jetty.plus.naming.NamingEntry
org.mortbay.jetty.plus.naming.EnvEntry
public class EnvEntry
- extends NamingEntry
EnvEntry
Methods inherited from class org.mortbay.jetty.plus.naming.NamingEntry |
bindToENC, getJndiName, getObjectToBind, getScope, isGlobal, isLocal, makeNamingEntryName, release, save, setScope, unbindENC |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvEntry
public EnvEntry(String jndiName,
Object objToBind)
throws NamingException
- Throws:
NamingException
EnvEntry
public EnvEntry(String jndiName,
Object objToBind,
boolean overrideWebXml)
throws NamingException
- Throws:
NamingException
bindToENC
public static void bindToENC(String name,
Object value)
throws NamingException
- Bind a name and value to java:comp/env, taking into account
any overriding EnvEntrys in the environment, either local or global.
- Parameters:
name
- the name from web.xml env-entryvalue
- the value from web.xml env-entry
- Throws:
NamingException
lookupGlobalEnvEntries
public static List lookupGlobalEnvEntries()
throws NamingException
- Throws:
NamingException
isOverrideWebXml
public boolean isOverrideWebXml()
Copyright © 2008 Mort Bay Consulting. All Rights Reserved.