Class CallAccess
- java.lang.Object
-
- jadex.bridge.ServiceCall
-
- jadex.bridge.service.component.interceptors.CallAccess
-
public abstract class CallAccess extends ServiceCall
Helper class to deal with service calls
-
-
Field Summary
-
Fields inherited from class jadex.bridge.ServiceCall
caller, CURRENT, DEFTIMEOUT, INHERIT, LAST, lastmod, MONITORING, NEXT, properties, REALTIME, SECURITY_INFOS, TIMEOUT
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCallAccess()Dummy constructor as this class only contains static methods.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceCallcreateServiceCall(IComponentIdentifier caller, java.util.Map<java.lang.String,java.lang.Object> props)Create a service call.static voidresetCurrentInvocation()Remove the current service call.static voidresetLastInvocation()Reset the invocation data for the last service call.static voidresetNextInvocation()Reset the invocation data for the next service call.static voidroll()static voidsetCurrentInvocation(ServiceCall call)Set the current service call.static voidsetLastInvocation(ServiceCall call)Reset the invocation data for the last service call.static voidsetNextInvocation(ServiceCall call)Reset the invocation data for the next service call.-
Methods inherited from class jadex.bridge.ServiceCall
getCaller, getCurrentInvocation, getLastInvocation, getNextInvocation, getOrCreateNextInvocation, getOrCreateNextInvocation, getProperties, getProperty, getTimeout, hasUserTimeout, isRemoteCall, removeProperty, setProperty, setTimeout, toString
-
-
-
-
Method Detail
-
createServiceCall
public static ServiceCall createServiceCall(IComponentIdentifier caller, java.util.Map<java.lang.String,java.lang.Object> props)
Create a service call.- Parameters:
caller- The calling component.props- The properties.
-
setCurrentInvocation
public static void setCurrentInvocation(ServiceCall call)
Set the current service call.- Parameters:
call- The service call.
-
resetCurrentInvocation
public static void resetCurrentInvocation()
Remove the current service call.
-
setNextInvocation
public static void setNextInvocation(ServiceCall call)
Reset the invocation data for the next service call.
-
resetNextInvocation
public static void resetNextInvocation()
Reset the invocation data for the next service call.
-
setLastInvocation
public static void setLastInvocation(ServiceCall call)
Reset the invocation data for the last service call.
-
resetLastInvocation
public static void resetLastInvocation()
Reset the invocation data for the last service call.
-
roll
public static void roll()
-
-