Interface ObjectObserver

All Superinterfaces:
Object

public interface ObjectObserver extends Object
Monitors well-known objects that are added, updated or removed using AdminPrx.
  • Method Details

    • objectInit

      void objectInit(ObjectInfo[] objects, Current current)
      Provides the initial list of well-known objects to the observer.
      Parameters:
      objects - The well-known objects registered using AdminPrx.
      current - The Current object of the incoming request.
    • objectAdded

      void objectAdded(ObjectInfo info, Current current)
      Notifies the observer that a well-known object was added.
      Parameters:
      info - The details of the new object.
      current - The Current object of the incoming request.
    • objectUpdated

      void objectUpdated(ObjectInfo info, Current current)
      Notifies the observer that a well-known object was updated.
      Parameters:
      info - The details of the updated object.
      current - The Current object of the incoming request.
    • objectRemoved

      void objectRemoved(Identity id, Current current)
      Notifies the observer that a well-known object was removed.
      Parameters:
      id - The identity of the removed object.
      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::ObjectObserver"
    • 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.