Class POAPolicyMediatorImpl_R_USM

  • All Implemented Interfaces:
    POAPolicyMediator

    public class POAPolicyMediatorImpl_R_USM
    extends POAPolicyMediatorBase_R
    Implementation of POARequesHandler that provides policy specific operations on the POA.
    • Constructor Detail

      • POAPolicyMediatorImpl_R_USM

        POAPolicyMediatorImpl_R_USM​(Policies policies,
                                    POAImpl poa)
    • Method Detail

      • servantAlreadyActivated

        @InfoMethod
        private void servantAlreadyActivated()
      • upcallToIncarnate

        @InfoMethod
        private void upcallToIncarnate()
      • incarnateFailed

        @InfoMethod
        private void incarnateFailed()
      • incarnateComplete

        @InfoMethod
        private void incarnateComplete()
      • servantAlreadyAssignedToID

        @InfoMethod
        private void servantAlreadyAssignedToID()
      • etherealizeAll

        public void etherealizeAll()
        Description copied from interface: POAPolicyMediator
        Etherealize all servants associated with this POAPolicyMediator. Does nothing if the retention policy is non-retain.
      • getServantManager

        public ServantManager getServantManager()
                                         throws WrongPolicy
        Description copied from interface: POAPolicyMediator
        Return the servant manager. Will throw WrongPolicy if the request processing policy is not USE_SERVANT_MANAGER.
        Returns:
        The current ServantManager
        Throws:
        WrongPolicy - If the request processing policy is not USE_SERVANT_MANAGER
      • setServantManager

        public void setServantManager​(ServantManager servantManager)
                               throws WrongPolicy
        Description copied from interface: POAPolicyMediator
        Set the servant manager. Will throw WrongPolicy if the request processing policy is not USE_SERVANT_MANAGER.
        Parameters:
        servantManager - The ServantManager
        Throws:
        WrongPolicy - if the request processing policy is not USE_SERVANT_MANAGER.
      • getDefaultServant

        public Servant getDefaultServant()
                                  throws NoServant,
                                         WrongPolicy
        Description copied from interface: POAPolicyMediator
        Return the default servant. Will throw WrongPolicy if the request processing policy is not USE_DEFAULT_SERVANT.
        Returns:
        the default Servant
        Throws:
        NoServant - if no Servant has been set
        WrongPolicy - if the policy is not USE_DEFAULT_SERVANT
      • setDefaultServant

        public void setDefaultServant​(Servant servant)
                               throws WrongPolicy
        Description copied from interface: POAPolicyMediator
        Set the default servant. Will throw WrongPolicy if the request processing policy is not USE_DEFAULT_SERVANT.
        Parameters:
        servant - The default Servant
        Throws:
        WrongPolicy - if the request processing policy is not USE_DEFAULT_SERVANT.