Class EnvEntry
java.lang.Object
org.eclipse.jetty.plus.jndi.NamingEntry
org.eclipse.jetty.plus.jndi.EnvEntry
This is an object that will be linked into a webapp's java:comp/env namespace as if it
was an <env-entry> from web.xml.
The Servlet Specification mandates that only String, Integer etc can be bound as an
<env-entry>, however Jetty is more lenient and allows a POJO.
-
Field Summary
Fields inherited from class org.eclipse.jetty.plus.jndi.NamingEntry
__contextName, _jndiName, _namingEntryNameString, _objectNameString, _scope
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jetty.plus.jndi.NamingEntry
bindToENC, getJndiName, getJndiNameInScope, getNamingEntryNameInScope, release, save, toString, unbindENC
-
Constructor Details
-
EnvEntry
public EnvEntry(Object scope, String jndiName, Object objToBind, boolean overrideWebXml) throws NamingException - Throws:
NamingException
-
EnvEntry
- Throws:
NamingException
-
EnvEntry
- Throws:
NamingException
-
-
Method Details
-
isOverrideWebXml
public boolean isOverrideWebXml() -
toStringMetaData
- Overrides:
toStringMetaData
in classNamingEntry
-