Interface AdapterObserver

All Superinterfaces:
Object

public interface AdapterObserver extends Object
Monitors dynamically-registered object adapters.
  • Method Details

    • adapterInit

      void adapterInit(AdapterInfo[] adpts, Current current)
      Provides the initial list of dynamically registered adapters to the observer.
      Parameters:
      adpts - The adapters that were dynamically registered with the registry.
      current - The Current object of the incoming request.
    • adapterAdded

      void adapterAdded(AdapterInfo info, Current current)
      Notifies the observer that a dynamically-registered adapter was added.
      Parameters:
      info - The details of the new adapter.
      current - The Current object of the incoming request.
    • adapterUpdated

      void adapterUpdated(AdapterInfo info, Current current)
      Parameters:
      info - The details of the updated adapter.
      current - The Current object of the incoming request.
    • adapterRemoved

      void adapterRemoved(String id, Current current)
      Notifies the observer that a dynamically-registered adapter was removed.
      Parameters:
      id - The ID of the removed adapter.
      current - The Current object of the incoming request.
    • ice_staticId

      static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::IceGrid::AdapterObserver"
    • dispatch

      default CompletionStage<OutgoingResponse> dispatch(IncomingRequest request) throws UserException
      Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.
      Specified by:
      dispatch in interface Object
      Parameters:
      request - the incoming request
      Returns:
      the outgoing response
      Throws:
      UserException - if a UserException is thrown, Ice will marshal it as the response payload.