Class IPCBean

  • All Implemented Interfaces:
    Identifiable, IPCEventListener, Serializable, Cloneable, Runnable, EventListener

    public abstract class IPCBean
    extends Object
    implements Runnable, IPCEventListener
    A bean for Inter-Process Communication. This lets the various threads and servlets track information so that exceptions can be propagated between them, This tracks pending transactions that are initiated by the authorized servlet. This waits for a transaction to be completed or to intercept any errors that might occur during execution.

    Created by Jeff Gaynor
    on 8/18/11 at 6:47 PM

    See Also:
    Serialized Form
    • Constructor Detail

      • IPCBean

        public IPCBean()
    • Method Detail

      • isStopThread

        public boolean isStopThread()
      • setStopThread

        public void setStopThread​(boolean stopThread)
        Sets this thread to stop the next time it wakes up.
        Parameters:
        stopThread -
      • getSleepInterval

        public long getSleepInterval()
      • setSleepInterval

        public void setSleepInterval​(long sleepInterval)
      • run

        public void run()
        Runs this thread. The bean stores the state and listens for events.
        Specified by:
        run in interface Runnable
      • getThrowable

        public Throwable getThrowable()
      • setThrowable

        public void setThrowable​(Throwable throwable)
      • setStatus

        public void setStatus​(int status)
      • getStatus

        public int getStatus()