psdi.refapp.webclient.beans

Class RefCommAppBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class RefCommAppBean
    extends StatefulAppBean
    A Bean class for the Basic Reference App
    • Constructor Detail

      • RefCommAppBean

        public RefCommAppBean()
    • Method Detail

      • withlongop

        public int withlongop()
                       throws MXException,
                              java.rmi.RemoteException
        Long Running Event sleep for 200 seconds, then the user can hit F5, click around page, etc. they should get a completed successfully message
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • withoutlongop

        public int withoutlongop()
                          throws MXException,
                                 java.rmi.RemoteException
        Long Running Event sleep for 200 seconds, then the server should resend the request and the user should get a completed successfully message this will work on an unclustered environment as the http server does not resend the request
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • retry_pass

        public int retry_pass()
                       throws MXException,
                              java.rmi.RemoteException
        unknown server error this event will cause a retry to occur and the retry will pass
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • retry_fail

        public int retry_fail()
                       throws MXException,
                              java.rmi.RemoteException
        unknown server error this event will always cause a failure (error 500) to occur
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • wogen_dialog

        public int wogen_dialog()
                         throws MXException,
                                java.rmi.RemoteException
        Wogen test sleep at dialog kickoff so that a timeout occurs and is retried. retry should be successful... when dialog is closed the changes should be reflected on main page
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • outoforder

        public int outoforder()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException