Klasse AbstractJMSWorkflowEventSource
java.lang.Object
de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
de.uplanet.lucy.server.jms.workflow.eventsource.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:
-
Feldübersicht
Von Schnittstelle geerbte Felder de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the broker URL.Get the client identifier for the JMS connection.de.uplanet.lucy.server.workflow.IClusterInfoGet the message selector.longGet 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.Get the password that is used when creating the JMS connection.Get the user identity that used when creating the JMS connection.voidinternalSetPasswordSupplier(de.uplanet.lucy.server.workflow.authentication.IPasswordSupplier p_passwordSupplier) booleanThis property determines if a global shared state should be used for all events created by this event source.booleanThis property determines if an after-stop event should be sent.booleanThis property determines if an before-start event should be sent.booleanDetermine if this event source uses transacted JMS sessions.voidsetBrokerUrl(String p_strBrokerURL) Set the broker URL.voidsetBrokerUrlParamRef(String p_strParamRef) voidsetClientId(String p_strClientId) Set the client identifier for the JMS connection.voidsetClusterInfo(de.uplanet.lucy.server.workflow.IClusterInfo p_clusterInfo) voidsetGlobalSharedState(boolean p_bGlobalSharedState) This property determines if a global shared state should be used for all events created by this event source.voidsetMessageSelector(String p_strMessageSelector) Set the message selector.voidsetOnErrorRestartWaitTimeout(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.voidsetPassword(String p_strPassword) Set the password that is used when creating the JMS connection.voidsetSendAfterStopEvent(boolean p_bSendAfterStopEvent) This property determines if an after-stop event should be sent.voidsetSendBeforeStartEvent(boolean p_bSendBeforeStartEvent) This property determines if an before-start event should be sent.voidsetUserName(String p_strUserName) Set the user identity that used when creating the JMS connection.voidsetUserNameParamRef(String p_strParamRef) voidsetUseTransactedSession(boolean p_bUseTransactedSession) Determine if this event source uses transacted JMS sessions.voidstop()Stop the workflow object.Von Klasse geerbte Methoden de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
getDatabaseConnectionFactory, getStartDelay, getStopWaitTimeout, isLogVerbose, isRunning, setDatabaseConnectionFactory, setLogVerbose, setStartDelay, setStopWaitTimeout, shouldRun, startVon Klasse geerbte Methoden de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
getGuid, getImpersonateUserGuid, getName, getWorkflow, hasImpersonateUserGuid, isActive, isRunWithLocalSystemPrivileges, setActive, setImpersonateUserGuid, setName, setRunWithLocalSystemPrivileges, setWorkflow, toString
-
Konstruktordetails
-
AbstractJMSWorkflowEventSource
-
-
Methodendetails
-
getClusterInfo
public de.uplanet.lucy.server.workflow.IClusterInfo getClusterInfo()- Angegeben von:
getClusterInfoin Schnittstellede.uplanet.lucy.server.workflow.INeedClusterInfo
-
setClusterInfo
public void setClusterInfo(de.uplanet.lucy.server.workflow.IClusterInfo p_clusterInfo) - Angegeben von:
setClusterInfoin Schnittstellede.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.
-
isSendBeforeStartEvent
public boolean isSendBeforeStartEvent()Beschreibung aus Schnittstelle kopiert:ISupportBeforeStartEventThis property determines if an before-start event should be sent.- Angegeben von:
isSendBeforeStartEventin SchnittstelleISupportBeforeStartEvent- Gibt zurück:
trueif an event should be sent before the workflow object's activity is about to being started, orfalseotherwise.
-
setSendBeforeStartEvent
public void setSendBeforeStartEvent(boolean p_bSendBeforeStartEvent) Beschreibung aus Schnittstelle kopiert:ISupportBeforeStartEventThis property determines if an before-start event should be sent.- Angegeben von:
setSendBeforeStartEventin SchnittstelleISupportBeforeStartEvent- Parameter:
p_bSendBeforeStartEvent-trueif an event should be sent before the workflow object's activity is about to being started, orfalseotherwise.
-
isSendAfterStopEvent
public boolean isSendAfterStopEvent()Beschreibung aus Schnittstelle kopiert:ISupportAfterStopEventThis property determines if an after-stop event should be sent.- Angegeben von:
isSendAfterStopEventin SchnittstelleISupportAfterStopEvent- Gibt zurück:
trueif an event should be sent after the workflow object's activity has been stopped, orfalseotherwise.
-
setSendAfterStopEvent
public void setSendAfterStopEvent(boolean p_bSendAfterStopEvent) Beschreibung aus Schnittstelle kopiert:ISupportAfterStopEventThis property determines if an after-stop event should be sent.- Angegeben von:
setSendAfterStopEventin SchnittstelleISupportAfterStopEvent- Parameter:
p_bSendAfterStopEvent-trueif an event should be sent after the workflow object's activity has been stopped, orfalseotherwise.
-
getBrokerUrl
Get the broker URL.- Gibt zurück:
- The broker URL.
-
setBrokerUrl
Set the broker URL.- Parameter:
p_strBrokerURL- The broker URL.
-
getBrokerUrlParamRef
-
setBrokerUrlParamRef
-
getUserName
Get the user identity that used when creating the JMS connection.- Gibt zurück:
- The user identity.
-
setUserName
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
-
setUserNameParamRef
-
getPassword
Get the password that is used when creating the JMS connection.- Gibt zurück:
- The password.
-
setPassword
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:
internalSetPasswordSupplierin Schnittstellede.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier
-
internalGetPassword
- Angegeben von:
internalGetPasswordin Schnittstellede.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier
-
getClientId
Get the client identifier for the JMS connection.- Gibt zurück:
- The client identifier for the JMS connection.
-
setClientId
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:
trueif this event source uses transacted JMS sessions, orfalseotherwise.
-
setUseTransactedSession
public void setUseTransactedSession(boolean p_bUseTransactedSession) Determine if this event source uses transacted JMS sessions.Default is
true.- Parameter:
p_bUseTransactedSession-trueif this event source should use transacted JMS sessions, orfalseotherwise.
-
getMessageSelector
Get the message selector.- Gibt zurück:
- The message selector.
-
setMessageSelector
Set the message selector.- Parameter:
p_strMessageSelector- The message selector.
-
stop
public void stop()Beschreibung aus Schnittstelle kopiert:IStartableWorkflowObjectStop the workflow object.A call to this method must not throw an exception if the object is already stopped.
- Angegeben von:
stopin SchnittstelleIStartableWorkflowObject- Setzt außer Kraft:
stopin KlasseAbstractSingleThreadedWorkflowEventSource
-