Class ResourceBase

    • Constructor Detail

      • ResourceBase

        public ResourceBase()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Injectable
      • setName

        public void setName​(java.lang.String name)
      • getType

        public java.lang.String getType()
      • setType

        public void setType​(java.lang.String type)
      • getLookupName

        public java.lang.String getLookupName()
      • setLookupName

        public void setLookupName​(java.lang.String lookupName)
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
        Parameters:
        name - The property name
        Returns:
        a configured property.
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
        Set a configured property.
        Parameters:
        name - The property name
        value - The property value
      • removeProperty

        public void removeProperty​(java.lang.String name)
        Remove a configured property.
        Parameters:
        name - The property name
      • listProperties

        public java.util.Iterator<java.lang.String> listProperties()
        List properties.
        Returns:
        the property names iterator
      • addInjectionTarget

        public void addInjectionTarget​(java.lang.String injectionTargetName,
                                       java.lang.String jndiName)
        Specified by:
        addInjectionTarget in interface Injectable
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

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

        public void setNamingResources​(NamingResources resources)