org.clazzes.remoting.beans
Class ReturnCallbackImporter

java.lang.Object
  extended by org.clazzes.remoting.beans.ReturnCallbackImporter
All Implemented Interfaces:
ReturnCallbackProxyFactory

public class ReturnCallbackImporter
extends java.lang.Object
implements ReturnCallbackProxyFactory

Creates import proxies exported by ReturnCallbackInvocationHandler via remoting.

Author:
wglas

Constructor Summary
ReturnCallbackImporter()
           
 
Method Summary
 java.lang.Object createProxy(java.lang.Class<?> iface, java.lang.Object ret)
           
 java.util.Set<java.lang.Class<?>> getCallbackInterfaces()
           
 ClientManager getClientManager()
           
 java.lang.String getSubSystem()
           
 void setCallbackInterfaces(java.util.Set<java.lang.Class<?>> serviceInterfaces)
           
 void setClientManager(ClientManager clientManager)
           
 void setSubSystem(java.lang.String subSystem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnCallbackImporter

public ReturnCallbackImporter()
Method Detail

createProxy

public java.lang.Object createProxy(java.lang.Class<?> iface,
                                    java.lang.Object ret)
                             throws java.lang.Exception
Specified by:
createProxy in interface ReturnCallbackProxyFactory
Throws:
java.lang.Exception

getClientManager

public ClientManager getClientManager()
Returns:
the clientManager

setClientManager

public void setClientManager(ClientManager clientManager)
Parameters:
clientManager - the clientManager to set

getSubSystem

public java.lang.String getSubSystem()
Returns:
the jboss remoting subsystem.
See Also:
Client#setSubsystem(String)

setSubSystem

public void setSubSystem(java.lang.String subSystem)
Parameters:
subSystem - the subSystem to set

getCallbackInterfaces

public java.util.Set<java.lang.Class<?>> getCallbackInterfaces()
Returns:
The set of callback interfaces, which are proxied by this instance.
See Also:
ReturnCallbackInvocationHandler.setCallbackInterfaces(java.util.List)

setCallbackInterfaces

public void setCallbackInterfaces(java.util.Set<java.lang.Class<?>> serviceInterfaces)
Parameters:
serviceInterfaces - The set of callback interfaces, which are proxied by this instance.
See Also:
ReturnCallbackInvocationHandler.setCallbackInterfaces(java.util.List)


Copyright © 2010. All Rights Reserved.