Package com.ibm.wsspi.resource
Interface ResourceBinding
public interface ResourceBinding
Information about a resource binding.
This interface is not intended to be implemented by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current binding name for the resource.getProperty
(String name) Returns a property value.Returns an immutable collection of property names that will return a non-null value fromgetProperty(java.lang.String)
.Returns the reference name, or null if this event is not for a reference.Returns the type of the resource name (for example,javax.sql.DataSource
).void
setBindingName
(String name) Sets the binding name for the resource.
-
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
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 fromgetProperty(java.lang.String)
.- Returns:
- a non-null immutable collection of property names
-
setBindingName
Sets the binding name for the resource.
-