Package com.ibm.wsspi.resource
Interface ResourceBindingListener
-
public interface ResourceBindingListener
Callback notified when a binding is needed for a resource access.Implementations should be registered in the OSGi service registry. If multiple listeners are registered, they are called in org.osgi.framework.Constants.SERVICE_RANKING order. The last call to
ResourceBinding.setBindingName(java.lang.String)
will be used.If errors occur, the org.osgi.framework.Constants.SERVICE_DESCRIPTION property should be used to identify this service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
binding(ResourceBinding binding)
Notification that a binding is being selected.
-
-
-
Method Detail
-
binding
void binding(ResourceBinding binding)
Notification that a binding is being selected. The binding object is valid for the duration of this method invocation only. This method might be called concurrently from multiple threads.- Parameters:
binding
- the binding
-
-