Service Activator Toolkit
Version 1.0.0

org.eclipse.soda.sat.core.framework.interfaces
Interface IProxyServiceHandler

All Known Implementing Classes:
ProxyServiceHandlerAdapter

public interface IProxyServiceHandler


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.
 

Method Detail

createService

public Object createService()
Create the proxy's service object.

Returns:
The created service object.

postInvoke

public 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.

Parameters:
service - The service object.
method - The method that was invoked on the service.
args - The arguments passed to the method.

preInvoke

public 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.

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.

Service Activator Toolkit
Version 1.0.0