org.apache.catalina.deploy
Class ContextResourceEnvRef

java.lang.Object
  extended byorg.apache.catalina.deploy.ContextResourceEnvRef
All Implemented Interfaces:
java.io.Serializable

public class ContextResourceEnvRef
extends java.lang.Object
implements java.io.Serializable

Representation of an application resource reference, as represented in an <res-env-refy> element in the deployment descriptor.

Version:
$Revision: 1.1 $ $Date: 2004/07/26 16:04:02 $
Author:
Craig R. McClanahan
See Also:
Serialized Form

Field Summary
protected  NamingResources resources
          The NamingResources with which we are associated (if any).
 
Constructor Summary
ContextResourceEnvRef()
           
 
Method Summary
 java.lang.String getName()
           
 NamingResources getNamingResources()
           
 boolean getOverride()
           
 java.lang.Object getProperty(java.lang.String name)
          Return a configured property.
 java.lang.String getType()
           
 java.util.Iterator listProperties()
          List properties.
 void removeProperty(java.lang.String name)
          remove a configured property.
 void setName(java.lang.String name)
           
 void setOverride(boolean override)
           
 void setProperty(java.lang.String name, java.lang.Object value)
          Set a configured property.
 void setType(java.lang.String type)
           
 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

ContextResourceEnvRef

public ContextResourceEnvRef()
Method Detail

getName

public java.lang.String getName()

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)

getProperty

public java.lang.Object getProperty(java.lang.String name)
Return a configured property.


setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Set a configured property.


removeProperty

public void removeProperty(java.lang.String name)
remove a configured property.


listProperties

public java.util.Iterator listProperties()
List properties.


toString

public java.lang.String toString()
Return a String representation of this object.


getNamingResources

public NamingResources getNamingResources()


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.