Service Activator Toolkit
Version 1.0.0

org.eclipse.soda.sat.core.framework
Class ProxyServiceHandlerAdapter

java.lang.Object
  extended byorg.eclipse.soda.sat.core.framework.ProxyServiceHandlerAdapter
All Implemented Interfaces:
IProxyServiceHandler

public class ProxyServiceHandlerAdapter
extends Object
implements IProxyServiceHandler


Constructor Summary
ProxyServiceHandlerAdapter()
           
 
Method Summary
 Object createService()
          Create the proxy's service object.
 void postInvoke(Object service, Method method, Object[] args)
          A hook method that is executed after the proxy has invoked the specified method on the specified service object.
 void preInvoke(Object service, Method method, Object[] args)
          A hook method that is executed before the proxy has invoked the specified method on the specified service object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyServiceHandlerAdapter

public ProxyServiceHandlerAdapter()
Method Detail

createService

public Object createService()
Description copied from interface: IProxyServiceHandler
Create the proxy's service object.

Specified by:
createService in interface IProxyServiceHandler
Returns:
The created service object.
See Also:
IProxyServiceHandler.createService()

postInvoke

public void postInvoke(Object service,
                       Method method,
                       Object[] args)
Description copied from interface: IProxyServiceHandler
A hook method that is executed after the proxy has invoked the specified method on the specified service object.

Specified by:
postInvoke in interface IProxyServiceHandler
Parameters:
service - The service object.
method - The method that was invoked on the service.
args - The arguments passed to the method.
See Also:
IProxyServiceHandler.postInvoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])

preInvoke

public void preInvoke(Object service,
                      Method method,
                      Object[] args)
Description copied from interface: IProxyServiceHandler
A hook method that is executed before the proxy has invoked the specified method on the specified service object.

Specified by:
preInvoke in interface IProxyServiceHandler
Parameters:
service - The service object.
method - The method that will be invoked on the service.
args - The arguments that will be passed to the method.
See Also:
IProxyServiceHandler.preInvoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])

Service Activator Toolkit
Version 1.0.0