public interface BindingManager<B extends Binding,I,O>
Modifier and Type | Method and Description |
---|---|
void |
add(Service service,
B binding,
ServiceProvider<B,I,O> provider)
Adds a service endpoint given a service and binding.
|
ServiceProvider<B,I,O> |
get(Service service,
B binding)
Gets the ServiceProvider given a service and binding.
|
ServiceProvider<B,I,O> |
remove(Service service,
B binding)
Removes the service endpoint given a service and binding.
|
void add(Service service, B binding, ServiceProvider<B,I,O> provider) throws EndpointException
service
- namebinding
- ServiceProvider
- EndpointException
ServiceProvider<B,I,O> remove(Service service, B binding) throws EndpointException
service
- namebinding
- EndpointException