Class ContextResourceEnvRef

  • All Implemented Interfaces:
    java.io.Serializable, Injectable

    public class ContextResourceEnvRef
    extends ResourceBase
    Representation of an application resource reference, as represented in an <res-env-ref> element in the deployment descriptor.
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextResourceEnvRef

        public ContextResourceEnvRef()
        Default constructor for ContextResourceEnvRef.
    • Method Detail

      • getOverride

        public boolean getOverride()
        Returns whether this environment entry allows overrides by the application deployment descriptor.
        Returns:
        true if overrides are allowed
      • setOverride

        public void setOverride​(boolean override)
        Sets whether this environment entry allows overrides by the application deployment descriptor.
        Parameters:
        override - true if overrides are allowed
      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class ResourceBase