Apache Tomcat 7.0.23

org.apache.catalina.deploy
Class ContextResource

java.lang.Object
  extended by org.apache.catalina.deploy.ResourceBase
      extended by org.apache.catalina.deploy.ContextResource
All Implemented Interfaces:
java.io.Serializable, Injectable

public class ContextResource
extends ResourceBase

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

Version:
$Id: ContextResource.java 1087286 2011-03-31 13:02:20Z markt $
Author:
Craig R. McClanahan, Peter Rossbach (pero@apache.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.catalina.deploy.ResourceBase
resources
 
Constructor Summary
ContextResource()
           
 
Method Summary
 java.lang.String getAuth()
           
 java.lang.String getCloseMethod()
           
 java.lang.String getScope()
           
 boolean getSingleton()
           
 void setAuth(java.lang.String auth)
           
 void setCloseMethod(java.lang.String closeMethod)
           
 void setScope(java.lang.String scope)
           
 void setSingleton(boolean singleton)
           
 java.lang.String toString()
          Return a String representation of this object.
 
Methods inherited from class org.apache.catalina.deploy.ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setName, setProperty, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextResource

public ContextResource()
Method Detail

getAuth

public java.lang.String getAuth()

setAuth

public void setAuth(java.lang.String auth)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String scope)

getSingleton

public boolean getSingleton()

setSingleton

public void setSingleton(boolean singleton)

getCloseMethod

public java.lang.String getCloseMethod()

setCloseMethod

public void setCloseMethod(java.lang.String closeMethod)

toString

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

Overrides:
toString in class java.lang.Object

Apache Tomcat 7.0.23

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