org.apache.catalina.deploy
Class ContextEnvironment

java.lang.Object
  extended by 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

Field Summary
protected  NamingResources resources
          The NamingResources with which we are associated (if any).
 
Constructor Summary
ContextEnvironment()
           
 
Method Summary
 void addInjectionTarget(java.lang.String injectionTargetName, java.lang.String jndiName)
           
 java.lang.String getDescription()
           
 java.util.List<InjectionTarget> getInjectionTargets()
           
 java.lang.String getName()
           
 NamingResources getNamingResources()
           
 boolean getOverride()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setOverride(boolean override)
           
 void setType(java.lang.String type)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
          Return a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resources

protected NamingResources resources
The NamingResources with which we are associated (if any).

Constructor Detail

ContextEnvironment

public ContextEnvironment()
Method Detail

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.