Class RemoteRuntimeEnvironmentWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<RemoteRuntimeEnvironment>
-
- de.aristaflow.ilm.ws.core.runtimeservice.RemoteRuntimeEnvironmentWebService
-
public class RemoteRuntimeEnvironmentWebService extends AbstractSubResourceWebService<RemoteRuntimeEnvironment>
- See Also:
RemoteRuntimeEnvironment
-
-
Field Summary
Fields Modifier and Type Field Description protected MessageDemux
md
protected RuntimeEnvironmentFactory
ref
-
Constructor Summary
Constructors Constructor Description RemoteRuntimeEnvironmentWebService(RemoteRuntimeEnvironment service, AbstractSubResourceWebService<?> parent, MessageDemux md)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applicationClosed(@NotNull @Valid SessionToken session, @NotNull String sessionId, @Valid DataContext dataContext)
void
applicationFailed(@NotNull @Valid SessionToken session, @NotNull String sessionId, @NotNull Long errorCode, String errorMsg, String state, @Valid DataContext dataContext)
void
applicationReset(@NotNull @Valid SessionToken session, @NotNull String sessionId, @Valid DataContext dataContext)
void
applicationResetTo(@NotNull @Valid SessionToken session, @NotNull String sessionId, String savepoint, @Valid DataContext dataContext)
void
applicationResetToPreviousSavepoint(@NotNull @Valid SessionToken session, @NotNull String sessionId, @Valid DataContext dataContext)
void
applicationSuspended(@NotNull @Valid SessionToken session, @NotNull String sessionId, @Valid DataContext dataContext)
byte[]
getApplicationState(@NotNull @Valid SessionToken session, @NotNull String sessionId, String savepointId)
String
getLastSavepoint(@NotNull @Valid SessionToken session, @NotNull String sessionId)
@Valid ActivityInstance
getLocalisedActivityInstance(@NotNull @Valid SessionToken session, @NotNull String sessionId)
List<@Valid ExecutionMessage>
getUnrepliedRequests(@NotNull @Valid SessionToken session, @NotNull String sessionId)
@NotNull Boolean
replyMessage(@NotNull @Valid SessionToken session, @NotNull @Valid ReplyMessage<?> reply)
void
setApplicationState(@NotNull @Valid SessionToken session, @NotNull String sessionId, byte[] applicationState)
void
setSavepoint(@NotNull @Valid SessionToken session, @NotNull String sessionId, @NotEmpty String savepoint, Boolean flush, @Valid DataContext dataContext)
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory, shutdown
-
-
-
-
Field Detail
-
ref
protected final RuntimeEnvironmentFactory ref
-
md
protected final MessageDemux md
-
-
Constructor Detail
-
RemoteRuntimeEnvironmentWebService
public RemoteRuntimeEnvironmentWebService(RemoteRuntimeEnvironment service, AbstractSubResourceWebService<?> parent, MessageDemux md) throws ServiceNotKnownException
- Throws:
ServiceNotKnownException
-
-
Method Detail
-
getLocalisedActivityInstance
@Valid public @Valid ActivityInstance getLocalisedActivityInstance(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId) throws ParameterException, UnknownSessionException
-
getUnrepliedRequests
public List<@Valid ExecutionMessage> getUnrepliedRequests(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId) throws ParameterException, UnknownSessionException
-
replyMessage
@NotNull public @NotNull Boolean replyMessage(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid ReplyMessage<?> reply) throws ParameterException, UnknownSessionException
-
getApplicationState
public byte[] getApplicationState(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, String savepointId) throws ParameterException, UnknownSessionException
-
getLastSavepoint
public String getLastSavepoint(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId) throws ParameterException, UnknownSessionException
-
setApplicationState
public void setApplicationState(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, byte[] applicationState) throws ParameterException, UnknownSessionException
-
setSavepoint
public void setSavepoint(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, @NotEmpty @NotEmpty String savepoint, Boolean flush, @Valid @Valid DataContext dataContext) throws ParameterException, UnknownSessionException
-
applicationSuspended
public void applicationSuspended(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, @Valid @Valid DataContext dataContext) throws ParameterException, UnknownSessionException
-
applicationReset
public void applicationReset(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, @Valid @Valid DataContext dataContext) throws ParameterException, UnknownSessionException
-
applicationResetTo
public void applicationResetTo(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, String savepoint, @Valid @Valid DataContext dataContext) throws ParameterException, UnknownSessionException
-
applicationResetToPreviousSavepoint
public void applicationResetToPreviousSavepoint(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, @Valid @Valid DataContext dataContext) throws ParameterException, UnknownSessionException
-
applicationClosed
public void applicationClosed(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, @Valid @Valid DataContext dataContext) throws ParameterException, UnknownSessionException
-
applicationFailed
public void applicationFailed(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull String sessionId, @NotNull @NotNull Long errorCode, String errorMsg, String state, @Valid @Valid DataContext dataContext) throws ParameterException, UnknownSessionException
-
-