Class AbstractRMIClientCommand

    • Field Detail

      • LOGGER

        protected static final Logger LOGGER
      • session

        protected com.saperion.connector.authentication.Session session
        Session which is representing the actual logged in user
      • credentials

        protected com.lexmark.saperion.remote.common.authentication.Credentials credentials
        Credentials which were used to logon
      • sessionInfo

        protected com.saperion.connector.authentication.SessionInfo sessionInfo
        The session information like user agent, remote address etc.
      • props

        protected java.util.Properties props
      • writeBufferSize

        protected int writeBufferSize
    • Constructor Detail

      • AbstractRMIClientCommand

        public AbstractRMIClientCommand()
    • Method Detail

      • reLogonAfterConnectionFailure

        protected boolean reLogonAfterConnectionFailure​(java.lang.Exception e)
                                                 throws SaSystemException
        If the cause of the exception is a connection failure, this methods performs a relogon.
        Parameters:
        e - the exception caught after first attempting to call a remote-method
        Returns:
        true if relogon was performed or false if the cause of the exception was no connection failure
        Throws:
        SaSystemException - if the relogon failed
      • init

        protected void init()
                     throws java.rmi.NotBoundException,
                            java.rmi.RemoteException
        Throws:
        java.rmi.NotBoundException - Not bound
        java.rmi.RemoteException - Remote exception