Class AOMEntry

java.lang.Object
org.glassfish.pfl.basic.fsm.FSMImpl
com.sun.corba.ee.impl.oa.poa.AOMEntry
All Implemented Interfaces:
org.glassfish.pfl.basic.fsm.FSM

public class AOMEntry extends org.glassfish.pfl.basic.fsm.FSMImpl
AOMEntry represents a Servant or potential Servant in the ActiveObjectMap. It may be in several states to allow for long incarnate or etherealize operations. The methods on this class mostly represent input symbols to the state machine that controls the lifecycle of the entry. A library is used to build the state machine rather than the more usual state pattern so that the state machine transitions are explicitly visible.
  • Field Details

    • INVALID

      public static final org.glassfish.pfl.basic.fsm.State INVALID
    • INCARN

      public static final org.glassfish.pfl.basic.fsm.State INCARN
    • VALID

      public static final org.glassfish.pfl.basic.fsm.State VALID
    • ETHP

      public static final org.glassfish.pfl.basic.fsm.State ETHP
    • ETH

      public static final org.glassfish.pfl.basic.fsm.State ETH
    • DESTROYED

      public static final org.glassfish.pfl.basic.fsm.State DESTROYED
  • Constructor Details

    • AOMEntry

      public AOMEntry(POAImpl poa)
  • Method Details

    • setState

      public void setState(org.glassfish.pfl.basic.fsm.State state)
      Specified by:
      setState in interface org.glassfish.pfl.basic.fsm.FSM
      Overrides:
      setState in class org.glassfish.pfl.basic.fsm.FSMImpl
    • startEtherealize

      public void startEtherealize(Thread etherealizer)
    • etherealizeComplete

      public void etherealizeComplete()
    • incarnateComplete

      public void incarnateComplete()
    • incarnateFailure

      public void incarnateFailure()
    • enter

      public void enter()
    • exit

      public void exit()
    • activateObject

      public void activateObject() throws ObjectAlreadyActive
      Throws:
      ObjectAlreadyActive