org.clazzes.remoting.beans
Interface CallbackWrapper

All Known Implementing Classes:
BeanCallbackWrapper

public interface CallbackWrapper

A facility, which wraps a client-side object with a callback invocation handler.

Author:
wglas

Method Summary
 java.lang.Class<?> getServiceInterface()
           
 InvocationHandler getWrapper(java.lang.Object target)
           
 

Method Detail

getServiceInterface

java.lang.Class<?> getServiceInterface()
Returns:
The interface handled by this callback handler.

getWrapper

InvocationHandler getWrapper(java.lang.Object target)
Parameters:
target - The target object to be called, which has to implement the interface returned by getServiceInterface().
Returns:
A handler, which delegates callback to the given object.


Copyright © 2010. All Rights Reserved.