public interface IProcessIntermediateEventBeanRuntime
Modifier and Type | Method and Description |
---|---|
<T> T |
executeAsSystem(Callable<T> callable)
Executes the code of the
Callable.call() method in the context of the ivy System security session. |
IntermediateEventFiringResult |
fireProcessIntermediateEvent(String eventId,
Object resultObject,
String additionalInformation)
|
IProcessIntermediateEventFiringResult |
fireProcessIntermediateEventEx(String eventId,
Object resultObject,
String additionalInformation)
Fires a process intermediate event.
|
IIntermediateEventElement |
getIntermediateEventElement()
Gets the intermediate event element on which the process intermediate event bean
fires intermediate events.
|
Logger |
getRuntimeLogLogger()
Gets a runtime log logger interface.
|
IServerExtension |
getServerExtension(String serverExtensionIdentifier)
Gets the server extension with the given server extension identifier.
|
void |
setPollTimeInterval(long timeInterval)
Sets the time interval the poll method of the process start event bean is
called.
|
Logger getRuntimeLogLogger()
void setPollTimeInterval(long timeInterval)
timeInterval
- the time interval in milliseconds@Deprecated IntermediateEventFiringResult fireProcessIntermediateEvent(String eventId, Object resultObject, String additionalInformation) throws PersistencyException
IProcessIntermediateEventBeanRuntime.fireProcessIntermediateEventEx(java.lang.String, java.lang.Object, java.lang.String)
insteadeventId
- the event identifierresultObject
- the result objectadditionalInformation
- additional information that may be useful. May be null.PersistencyException
- if persistency access failsIllegalArgumentException
- if result bean cannot be serialisedIProcessIntermediateEventFiringResult fireProcessIntermediateEventEx(String eventId, Object resultObject, String additionalInformation) throws PersistencyException
eventId
- the event identifierresultObject
- the result objectadditionalInformation
- additional information that may be useful. May be null.PersistencyException
- if persistency access failsIllegalArgumentException
- if result bean cannot be serialised<T> T executeAsSystem(Callable<T> callable) throws Exception
Callable.call()
method in the context of the ivy System security session.
If you like to call ivy API methods from your own threads you have to put your code in a Callable
and execute it
by calling this method otherwise you get security exceptions when calling the API methods.T
- the type of the resultcallable
- the callable to execute in the context of the ivy System security session.Exception
- if the callable throws an exceptionIServerExtension getServerExtension(String serverExtensionIdentifier)
IServerExtension
serverExtensionIdentifier
- the server extension identifierIIntermediateEventElement getIntermediateEventElement()
Copyright © 2024
AXON IVY AG
All Rights Reserved Documentation was generated
on April 28, 2024