com.ibm.wsspi.container.binding
Interface BindingManager<B extends Binding,I,O>
- public interface BindingManager<B extends Binding,I,O>
Method Summary
Modifier and Type | Method and Description |
---|---|
|
add(Service service,B binding,ServiceProvider<B,I,O> provider)
Adds a service endpoint given a service and binding.
|
get(Service service,B binding)
Gets the ServiceProvider given a service and binding.
|
|
remove(Service service,B binding)
Removes the service endpoint given a service and binding.
|
Method Detail
add
- void add(Service service,
- B binding,
- ServiceProvider<B,I,O> provider)
- 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
remove
- ServiceProvider<B,I,O> remove(Service service,
- B binding)
- 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.
get
Gets the ServiceProvider given a service and binding.
Parameters:
service
- binding
- Returns:
serviceProvider