Class RemoteActivityStartingWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<RemoteActivityStarting>
-
- de.aristaflow.ilm.ws.core.runtimeservice.RemoteActivityStartingWebService
-
public class RemoteActivityStartingWebService extends AbstractSubResourceWebService<RemoteActivityStarting>
- See Also:
RemoteActivityStarting
-
-
Field Summary
Fields Modifier and Type Field Description protected long
dispatchTimeout
The timeout in milliseconds to wait for a result ofExecutionMessageCallback
sent viaRemoteRuntimeEnvironmentWebService.replyMessage(SessionToken, de.aristaflow.ilm.model.runtimeenvironment.messages.execution.ReplyMessage)
.protected MessageDemux
md
protected URI[]
mdUris
protected ProcessModelFactory
pmf
protected long
REM_IT_ALIVE_TIME_EXTENSION
The time in milliseconds to extend the remote iterator alive time after each access.protected long
REM_IT_INIT_ALIVE_TIME
The time in milliseconds to keep a remote iterator alive after creating it and before accessing it.protected ScRemoteIteratorWebService
sriws
The web service for remote iterator handlers for simple session contexts.
-
Constructor Summary
Constructors Constructor Description RemoteActivityStartingWebService(RemoteActivityStarting service, RuntimeServiceWebService parent, MessageDemux md, long dispatchTimeout)
-
Method Summary
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory
-
-
-
-
Field Detail
-
REM_IT_INIT_ALIVE_TIME
protected final long REM_IT_INIT_ALIVE_TIME
The time in milliseconds to keep a remote iterator alive after creating it and before accessing it.
-
REM_IT_ALIVE_TIME_EXTENSION
protected final long REM_IT_ALIVE_TIME_EXTENSION
The time in milliseconds to extend the remote iterator alive time after each access.
-
sriws
protected final ScRemoteIteratorWebService sriws
The web service for remote iterator handlers for simple session contexts.
-
pmf
protected final ProcessModelFactory pmf
-
md
protected final MessageDemux md
-
mdUris
protected final URI[] mdUris
-
dispatchTimeout
protected final long dispatchTimeout
The timeout in milliseconds to wait for a result ofExecutionMessageCallback
sent viaRemoteRuntimeEnvironmentWebService.replyMessage(SessionToken, de.aristaflow.ilm.model.runtimeenvironment.messages.execution.ReplyMessage)
.
-
-
Constructor Detail
-
RemoteActivityStartingWebService
public RemoteActivityStartingWebService(RemoteActivityStarting service, RuntimeServiceWebService parent, MessageDemux md, long dispatchTimeout) throws ServiceNotKnownException
- Throws:
ServiceNotKnownException
-
-
Method Detail
-
shutdown
public void shutdown()
Description copied from class:AbstractSubResourceWebService
Shuts down this sub resource web service. This default implementation does nothing.- Overrides:
shutdown
in classAbstractSubResourceWebService<RemoteActivityStarting>
-
getScRemoteIteratorWebService
public ScRemoteIteratorWebService getScRemoteIteratorWebService()
-
startActivity
@NotNull @Valid public @NotNull @Valid SimpleSessionContext startActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity, ProcessConstants.ExecutionMode executionMode, ExecutionMessageCallback callback) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException
- Throws:
ParameterException
InvalidActivityStateException
InvalidInstanceStateException
WrongAgentException
- See Also:
RemoteActivityStarting.startActivity(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.processmodel.EBPInstanceReference, ExecutionMode, java.net.URI[])
-
resumeActivity
@NotNull @Valid public @NotNull @Valid SimpleSessionContext resumeActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity, ExecutionMessageCallback callback) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException
-
wrap
protected ExecutionMessageNotification wrap(SessionToken st, ExecutionMessageCallback callback)
-
getSimpleSessionContext
@NotNull @Valid public @NotNull @Valid IncompleteSessionContext getSimpleSessionContext(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity, ProcessConstants.ExecutionMode executionMode) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException
-
getSimpleSessionContexts
@Valid public @Valid ScInitialRemoteIteratorData getSimpleSessionContexts(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty Collection<@Valid EbpInstanceReference> activities, ProcessConstants.ExecutionMode executionMode, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
-
-