com.ibm.wsspi.container.binding

Interface BindingManager<B extends Binding,I,O>



  • 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 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
        Parameters:
        service - name
        binding -
        ServiceProvider -
        Throws:
        EndpointException
      • 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.
        Parameters:
        service - name
        binding -
        Throws:
        EndpointException
      • get

        ServiceProvider<B,I,O> get(Service service,
                                 B binding)
        Gets the ServiceProvider given a service and binding.
        Parameters:
        service -
        binding -
        Returns:
        serviceProvider
IBM WebSphere Application ServerTM
Release 8.5