Klasse AbstractJMSWorkflowEventSource

Alle implementierten Schnittstellen:
de.uplanet.lucy.server.workflow.authentication.INeedCredentialSupplier, de.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier, IActivatableWorkflowObject, de.uplanet.lucy.server.workflow.IImpersonateUser, ILogLevelAware, INamedWorkflowObject, de.uplanet.lucy.server.workflow.INeedClusterInfo, INeedWorkflow, IRunnableWorkflowObject, IStartableWorkflowObject, ISupportAfterStopEvent, ISupportBeforeStartEvent, ISupportGlobalSharedState, IWorkflowEventSource, IWorkflowObject, Serializable
Bekannte direkte Unterklassen:
JMSQueueWorkflowEventSource, JMSTopicWorkflowEventSource

public abstract class AbstractJMSWorkflowEventSource extends AbstractSingleThreadedWorkflowEventSource implements de.uplanet.lucy.server.workflow.INeedClusterInfo, de.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier, ISupportGlobalSharedState, ISupportBeforeStartEvent, ISupportAfterStopEvent
Seit:
Intrexx 7.0.
Siehe auch:
  • Konstruktordetails

    • AbstractJMSWorkflowEventSource

      public AbstractJMSWorkflowEventSource(String p_strGuid)
  • Methodendetails

    • getClusterInfo

      public de.uplanet.lucy.server.workflow.IClusterInfo getClusterInfo()
      Angegeben von:
      getClusterInfo in Schnittstelle de.uplanet.lucy.server.workflow.INeedClusterInfo
    • setClusterInfo

      public void setClusterInfo(de.uplanet.lucy.server.workflow.IClusterInfo p_clusterInfo)
      Angegeben von:
      setClusterInfo in Schnittstelle de.uplanet.lucy.server.workflow.INeedClusterInfo
    • getOnErrorRestartWaitTimeout

      public long getOnErrorRestartWaitTimeout()
      Get the time in milliseconds the event source will wait before it tries to restart after an error occurred that prevented it to running the source loop.

      The default value is 60000 milliseconds (one minute).

      Gibt zurück:
      The timeout in milliseconds.
    • setOnErrorRestartWaitTimeout

      public void setOnErrorRestartWaitTimeout(long p_lOnErrorRestartWaitTimeout)
      Set the time in milliseconds the event source will wait before it tries to restart after an error occurred that prevented it to running the source loop.
      Parameter:
      p_lOnErrorRestartWaitTimeout - The timeout in milliseconds.
    • isGlobalSharedState

      public boolean isGlobalSharedState()
      Beschreibung aus Schnittstelle kopiert: ISupportGlobalSharedState
      This property determines if a global shared state should be used for all events created by this event source.
      Angegeben von:
      isGlobalSharedState in Schnittstelle ISupportGlobalSharedState
      Gibt zurück:
      true if a global shared state should be used, or false otherwise.
    • isSendBeforeStartEvent

      public boolean isSendBeforeStartEvent()
      Beschreibung aus Schnittstelle kopiert: ISupportBeforeStartEvent
      This property determines if an before-start event should be sent.
      Angegeben von:
      isSendBeforeStartEvent in Schnittstelle ISupportBeforeStartEvent
      Gibt zurück:
      true if an event should be sent before the workflow object's activity is about to being started, or false otherwise.
    • setGlobalSharedState

      public void setGlobalSharedState(boolean p_bGlobalSharedState)
      Beschreibung aus Schnittstelle kopiert: ISupportGlobalSharedState
      This property determines if a global shared state should be used for all events created by this event source.
      Angegeben von:
      setGlobalSharedState in Schnittstelle ISupportGlobalSharedState
      Parameter:
      p_bGlobalSharedState - true if a global shared state should be used, or false otherwise.
    • setSendBeforeStartEvent

      public void setSendBeforeStartEvent(boolean p_bSendBeforeStartEvent)
      Beschreibung aus Schnittstelle kopiert: ISupportBeforeStartEvent
      This property determines if an before-start event should be sent.
      Angegeben von:
      setSendBeforeStartEvent in Schnittstelle ISupportBeforeStartEvent
      Parameter:
      p_bSendBeforeStartEvent - true if an event should be sent before the workflow object's activity is about to being started, or false otherwise.
    • isSendAfterStopEvent

      public boolean isSendAfterStopEvent()
      Beschreibung aus Schnittstelle kopiert: ISupportAfterStopEvent
      This property determines if an after-stop event should be sent.
      Angegeben von:
      isSendAfterStopEvent in Schnittstelle ISupportAfterStopEvent
      Gibt zurück:
      true if an event should be sent after the workflow object's activity has been stopped, or false otherwise.
    • setSendAfterStopEvent

      public void setSendAfterStopEvent(boolean p_bSendAfterStopEvent)
      Beschreibung aus Schnittstelle kopiert: ISupportAfterStopEvent
      This property determines if an after-stop event should be sent.
      Angegeben von:
      setSendAfterStopEvent in Schnittstelle ISupportAfterStopEvent
      Parameter:
      p_bSendAfterStopEvent - true if an event should be sent after the workflow object's activity has been stopped, or false otherwise.
    • getBrokerUrl

      public String getBrokerUrl()
      Get the broker URL.
      Gibt zurück:
      The broker URL.
    • setBrokerUrl

      public void setBrokerUrl(String p_strBrokerURL)
      Set the broker URL.
      Parameter:
      p_strBrokerURL - The broker URL.
    • getBrokerUrlParamRef

      public String getBrokerUrlParamRef()
    • setBrokerUrlParamRef

      public void setBrokerUrlParamRef(String p_strParamRef)
    • getUserName

      public String getUserName()
      Get the user identity that used when creating the JMS connection.
      Gibt zurück:
      The user identity.
    • setUserName

      public void setUserName(String p_strUserName)
      Set the user identity that used when creating the JMS connection.

      If this property is null (default) the default user identity will be used.

      Parameter:
      p_strUserName - The user identity.
    • getUserNameParamRef

      public String getUserNameParamRef()
    • setUserNameParamRef

      public void setUserNameParamRef(String p_strParamRef)
    • getPassword

      public String getPassword()
      Get the password that is used when creating the JMS connection.
      Gibt zurück:
      The password.
    • setPassword

      public void setPassword(String p_strPassword)
      Set the password that is used when creating the JMS connection.
      Parameter:
      p_strPassword - The password.
    • internalSetPasswordSupplier

      public void internalSetPasswordSupplier(de.uplanet.lucy.server.workflow.authentication.IPasswordSupplier p_passwordSupplier)
      Angegeben von:
      internalSetPasswordSupplier in Schnittstelle de.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier
    • internalGetPassword

      public String internalGetPassword()
      Angegeben von:
      internalGetPassword in Schnittstelle de.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier
    • getClientId

      public String getClientId()
      Get the client identifier for the JMS connection.
      Gibt zurück:
      The client identifier for the JMS connection.
    • setClientId

      public void setClientId(String p_strClientId)
      Set the client identifier for the JMS connection.
      Parameter:
      p_strClientId - The client identifier for the JMS connection.
    • isUseTransactedSession

      public boolean isUseTransactedSession()
      Determine if this event source uses transacted JMS sessions.

      Default is true.

      Gibt zurück:
      true if this event source uses transacted JMS sessions, or false otherwise.
    • setUseTransactedSession

      public void setUseTransactedSession(boolean p_bUseTransactedSession)
      Determine if this event source uses transacted JMS sessions.

      Default is true.

      Parameter:
      p_bUseTransactedSession - true if this event source should use transacted JMS sessions, or false otherwise.
    • getMessageSelector

      public String getMessageSelector()
      Get the message selector.
      Gibt zurück:
      The message selector.
    • setMessageSelector

      public void setMessageSelector(String p_strMessageSelector)
      Set the message selector.
      Parameter:
      p_strMessageSelector - The message selector.
    • stop

      public void stop()
      Beschreibung aus Schnittstelle kopiert: IStartableWorkflowObject
      Stop the workflow object.

      A call to this method must not throw an exception if the object is already stopped.

      Angegeben von:
      stop in Schnittstelle IStartableWorkflowObject
      Setzt außer Kraft:
      stop in Klasse AbstractSingleThreadedWorkflowEventSource