com.ibm.wsspi.container.binding

Interface BindingManager<B extends Binding,I,O>


  1. public interface BindingManager<B extends Binding,I,O>
Manages the ServiceProviders for a given Binding. Each ServiceProvider is identified by the Service which it configures.

Method Summary

Modifier and Type Method and Description
  1. void
add(Service service,B binding,ServiceProvider<B,I,O> provider)
Adds a service endpoint given a service and binding.
  1. ServiceProvider<B,I,O>
get(Service service,B binding)
Gets the ServiceProvider given a service and binding.
  1. ServiceProvider<B,I,O>
remove(Service service,B binding)
Removes the service endpoint given a service and binding.

Method Detail

add

  1. void add(Service service,
  2. B binding,
  3. ServiceProvider<B,I,O> provider)
  4. throws EndpointException
Adds a service endpoint given a service and binding. This method gets called typically from bindingProvider start(). This starts the ServiceProvider, creates/start the endpoint and creates the invoker for each operation. ServiceProviders are cached in memory based on serviceName/bindingName
Parameters:
service - name
binding -
Throws:

remove

  1. ServiceProvider<B,I,O> remove(Service service,
  2. B binding)
  3. throws EndpointException
Removes the service endpoint given a service and binding. This method gets called typically from bindingProvider stop(). This method stops the ServiceProvider, deactivates/stops the endpoint and does necessary cleanup.
Parameters:
service - name
binding -
Throws:

get

  1. ServiceProvider<B,I,O> get(Service service,
  2. B binding)
Gets the ServiceProvider given a service and binding.
Parameters:
service -
binding -
Returns:
serviceProvider