Interface ResourceBinding


public interface ResourceBinding
Information about a resource binding.

This interface is not intended to be implemented by clients.

  • Method Details

    • getReferenceName

      String getReferenceName()
      Returns the reference name, or null if this event is not for a reference.
    • getTypeName

      String getTypeName()
      Returns the type of the resource name (for example, javax.sql.DataSource).
    • getBindingName

      String getBindingName()
      Returns the current binding name for the resource.
    • getProperty

      Object getProperty(String name)
      Returns a property value. The list of property names varies depending on the type and declaration of the resource.
      Parameters:
      name - the property name
      Returns:
      the property value, or null if not found
      See Also:
    • getPropertyNames

      Collection<String> getPropertyNames()
      Returns an immutable collection of property names that will return a non-null value from getProperty(java.lang.String).
      Returns:
      a non-null immutable collection of property names
    • setBindingName

      void setBindingName(String name)
      Sets the binding name for the resource.