org.apache.catalina.deploy
Class ContextEnvironment
java.lang.Object
org.apache.catalina.deploy.ContextEnvironment
- All Implemented Interfaces:
- java.io.Serializable, Injectable
public class ContextEnvironment
- extends java.lang.Object
- implements java.io.Serializable, Injectable
Representation of an application environment entry, as represented in
an <env-entry>
element in the deployment descriptor.
- Version:
- $Revision: 1237 $ $Date: 2009-11-03 02:55:48 +0100 (Tue, 03 Nov 2009) $
- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
resources
protected NamingResources resources
- The NamingResources with which we are associated (if any).
ContextEnvironment
public ContextEnvironment()
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Injectable
setName
public void setName(java.lang.String name)
getOverride
public boolean getOverride()
setOverride
public void setOverride(boolean override)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
addInjectionTarget
public void addInjectionTarget(java.lang.String injectionTargetName,
java.lang.String jndiName)
- Specified by:
addInjectionTarget
in interface Injectable
getInjectionTargets
public java.util.List<InjectionTarget> getInjectionTargets()
- Specified by:
getInjectionTargets
in interface Injectable
toString
public java.lang.String toString()
- Return a String representation of this object.
- Overrides:
toString
in class java.lang.Object
getNamingResources
public NamingResources getNamingResources()
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.