Class NFRequiredServicePropertyProviderInterceptor
- java.lang.Object
-
- jadex.bridge.service.component.interceptors.AbstractApplicableInterceptor
-
- jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
-
- jadex.bridge.service.component.interceptors.NFRequiredServicePropertyProviderInterceptor
-
- All Implemented Interfaces:
IServiceInvocationInterceptor
public class NFRequiredServicePropertyProviderInterceptor extends ComponentThreadInterceptor
Delegates 'getRequiredServicePropertyProvider()' calls to the underlying component.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.reflect.Method
METHOD
protected IServiceIdentifier
sid
The service indentifier.-
Fields inherited from class jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
ia
-
-
Constructor Summary
Constructors Constructor Description NFRequiredServicePropertyProviderInterceptor(IInternalAccess component, IServiceIdentifier sid)
Create a new interceptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
execute(ServiceInvocationContext sic)
Execute the interceptor.boolean
isApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable.-
Methods inherited from class jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
getComponent
-
-
-
-
Field Detail
-
METHOD
protected static final java.lang.reflect.Method METHOD
-
sid
protected IServiceIdentifier sid
The service indentifier.
-
-
Constructor Detail
-
NFRequiredServicePropertyProviderInterceptor
public NFRequiredServicePropertyProviderInterceptor(IInternalAccess component, IServiceIdentifier sid)
Create a new interceptor.
-
-
Method Detail
-
isApplicable
public boolean isApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable.- Specified by:
isApplicable
in interfaceIServiceInvocationInterceptor
- Overrides:
isApplicable
in classComponentThreadInterceptor
- Returns:
- True, if applicable.
-
execute
public IFuture<java.lang.Void> execute(ServiceInvocationContext sic)
Execute the interceptor.- Parameters:
context
- The invocation context.
-
-