public interface ServiceInvokerHandler
ServiceFacade| Modifier and Type | Method and Description |
|---|---|
void |
generateErrorLog(java.lang.Long networkId,
java.lang.Long configurationId,
java.lang.String channel,
java.lang.Long loggedUserId,
java.lang.String operation,
java.lang.Throwable thowable)
Generates an error log in a new transaction
|
org.cyclos.impl.utils.logging.LogContext |
getLogContext(SessionData sessionData,
java.lang.String serviceName,
java.lang.String methodName,
java.lang.Object... parameters)
Returns log information about a service invocation.
|
RequestData |
getRequestDataWithNetwork(Network network)
Return a
RequestData instance for the specified Network |
InvocationResult |
invoke(InvocationData invocationData)
Invokes a service method
|
org.cyclos.impl.ServiceInterceptorsAccessor |
resolveInterceptors(Network network,
java.lang.Class<? extends Service> serviceInterface,
java.lang.reflect.Method method,
ServiceInterceptorContext context)
Resolve the interceptors defined for the given service and method.
|
SessionData |
resolveSessionData(InvocationData invocationData)
Resolves the session data from the given InvocationData.
|
void generateErrorLog(java.lang.Long networkId,
java.lang.Long configurationId,
java.lang.String channel,
java.lang.Long loggedUserId,
java.lang.String operation,
java.lang.Throwable thowable)
org.cyclos.impl.utils.logging.LogContext getLogContext(SessionData sessionData, java.lang.String serviceName, java.lang.String methodName, java.lang.Object... parameters)
RequestData getRequestDataWithNetwork(Network network)
RequestData instance for the specified NetworkInvocationResult invoke(InvocationData invocationData) throws IllegalInvocationException
IllegalInvocationExceptionorg.cyclos.impl.ServiceInterceptorsAccessor resolveInterceptors(Network network, java.lang.Class<? extends Service> serviceInterface, java.lang.reflect.Method method, ServiceInterceptorContext context)
SessionData resolveSessionData(InvocationData invocationData)