Package jadex.bridge.sensor.service
Class UserMethodInvocationListener
- java.lang.Object
-
- jadex.bridge.sensor.service.UserMethodInvocationListener
-
- All Implemented Interfaces:
IMethodInvocationListener
public class UserMethodInvocationListener extends java.lang.Object implements IMethodInvocationListener
Listener that only observes user methods. It ignores calls to IService, INFPropertyProvider and INMethodPropertyProvider interfaces.
-
-
Field Summary
Fields Modifier and Type Field Description protected IMethodInvocationListener
listener
The protected listener.
-
Constructor Summary
Constructors Constructor Description UserMethodInvocationListener(IMethodInvocationListener listener)
Create a new UserMethodInvocationListener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
methodCallFinished(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object callid, ServiceInvocationContext context)
Called when the method call is finished.void
methodCallStarted(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object callid, ServiceInvocationContext context)
Called when a method call started.
-
-
-
Field Detail
-
listener
protected IMethodInvocationListener listener
The protected listener.
-
-
Constructor Detail
-
UserMethodInvocationListener
public UserMethodInvocationListener(IMethodInvocationListener listener)
Create a new UserMethodInvocationListener.
-
-
Method Detail
-
methodCallStarted
public void methodCallStarted(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object callid, ServiceInvocationContext context)
Called when a method call started.- Specified by:
methodCallStarted
in interfaceIMethodInvocationListener
-
methodCallFinished
public void methodCallFinished(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object callid, ServiceInvocationContext context)
Called when the method call is finished.- Specified by:
methodCallFinished
in interfaceIMethodInvocationListener
-
-