Class ContextResource

  • All Implemented Interfaces:
    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.
    Author:
    Craig R. McClanahan, Peter Rossbach (pero@apache.org)
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextResource

        public ContextResource()
    • Method Detail

      • getAuth

        public String getAuth()
      • setAuth

        public void setAuth​(String auth)
      • getScope

        public String getScope()
      • setScope

        public void setScope​(String scope)
      • getSingleton

        public boolean getSingleton()
      • setSingleton

        public void setSingleton​(boolean singleton)
      • getCloseMethod

        public String getCloseMethod()
      • setCloseMethod

        public void setCloseMethod​(String closeMethod)
      • getCloseMethodConfigured

        public boolean getCloseMethodConfigured()
      • toString

        public String toString()
        Return a String representation of this object.
        Overrides:
        toString in class Object