Package org.cyclos.impl.system
Interface ServiceInterceptorServiceLocal
-
- All Superinterfaces:
CRUDService<ServiceInterceptorDTO,ServiceInterceptorData,Void>,CRUDServiceLocal<ServiceInterceptor,ServiceInterceptorDTO,ServiceInterceptorData,Void>,Service,ServiceInterceptorService
- All Known Implementing Classes:
ServiceInterceptorServiceImpl
public interface ServiceInterceptorServiceLocal extends ServiceInterceptorService, CRUDServiceLocal<ServiceInterceptor,ServiceInterceptorDTO,ServiceInterceptorData,Void>
Local interface forServiceInterceptorService
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_CONTEXTScript variable: theServiceInterceptorContextstatic StringATTR_INTERCEPTORScript variable: the interceptorstatic StringATTR_OPERATIONScript variable: the service operationstatic StringATTR_SERVICEScript variable: the service being invoked
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasEnabledInterceptors(Network network)Returns whether the given network has at least one enabled service interceptorList<ServiceInterceptor>resolveInterceptors(Network network, Class<? extends Service> serviceInterface, Method operation)Resolve the service interceptors to be applied to an invocation-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.impl.CRUDServiceLocal
find, findAll, getEntityClass, newEntity, remove, removeAll, saveEntity, saveSkippingEntityLog, toDTO, toEntity, validate
-
Methods inherited from interface org.cyclos.services.system.ServiceInterceptorService
disableAllInterceptorsInNetwork, list, saveOrder
-
-
-
-
Field Detail
-
ATTR_INTERCEPTOR
static final String ATTR_INTERCEPTOR
Script variable: the interceptor- See Also:
- Constant Field Values
-
ATTR_SERVICE
static final String ATTR_SERVICE
Script variable: the service being invoked- See Also:
- Constant Field Values
-
ATTR_OPERATION
static final String ATTR_OPERATION
Script variable: the service operation- See Also:
- Constant Field Values
-
ATTR_CONTEXT
static final String ATTR_CONTEXT
Script variable: theServiceInterceptorContext- See Also:
- Constant Field Values
-
-
Method Detail
-
hasEnabledInterceptors
boolean hasEnabledInterceptors(Network network)
Returns whether the given network has at least one enabled service interceptor
-
-