org.apache.catalina.deploy
Class ContextResource

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

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

Representation of a resource reference for a web application, as represented in a <resource-ref> element in the deployment descriptor.

Version:
$Revision: 1.5 $ $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
ContextResource()
           
 
Method Summary
 java.lang.String getAuth()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 NamingResources getNamingResources()
           
 java.lang.Object getProperty(java.lang.String name)
          Return a configured property.
 java.lang.String getScope()
           
 java.lang.String getType()
           
 java.util.Iterator listProperties()
          List properties.
 void removeProperty(java.lang.String name)
          remove a configured property.
 void setAuth(java.lang.String auth)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setProperty(java.lang.String name, java.lang.Object value)
          Set a configured property.
 void setScope(java.lang.String scope)
           
 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

ContextResource

public ContextResource()
Method Detail

getAuth

public java.lang.String getAuth()

setAuth

public void setAuth(java.lang.String auth)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String scope)

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.