org.clazzes.remoting.beans
Class BeanImporter
java.lang.Object
org.clazzes.remoting.beans.BeanImporter
- All Implemented Interfaces:
- Initializable
- Direct Known Subclasses:
- SpringBeanImporter
public class BeanImporter
- extends java.lang.Object
- implements Initializable
Imports a service exported by BeanInvocationHandler
via remoting.
- Author:
- wglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanImporter
public BeanImporter()
isInitialized
public boolean isInitialized()
- Specified by:
isInitialized
in interface Initializable
- Returns:
- Whether this bean needs to be initialized using
Initializable.initialize()
.
initialize
public void initialize()
throws java.lang.Exception
- Description copied from interface:
Initializable
- Initialize the internal state of this bean.
- Specified by:
initialize
in interface Initializable
- Throws:
java.lang.Exception
- Upon errors.
getProxy
public java.lang.Object getProxy()
- Returns:
- The proxy, which has been set up in
initialize()
.
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
getServiceInterface
public java.lang.Class<?> getServiceInterface()
- Returns:
- the service interface implemented by the proxy.
setServiceInterface
public void setServiceInterface(java.lang.Class<?> serviceInterface)
- Parameters:
serviceInterface
- the serviceInterface to set.
getCallbackWrappers
public java.util.List<CallbackWrapper> getCallbackWrappers()
- Returns:
- the callbackHandlers
setCallbackWrappers
public void setCallbackWrappers(java.util.List<CallbackWrapper> callbackHandlers)
- Parameters:
callbackHandlers
- the callbackHandlers to set
getReturnCallbackProxyFactory
public ReturnCallbackProxyFactory getReturnCallbackProxyFactory()
- Returns:
- the returnCallbackProxyFactory
setReturnCallbackProxyFactory
public void setReturnCallbackProxyFactory(ReturnCallbackProxyFactory returnCallbackProxyFactory)
- Parameters:
returnCallbackProxyFactory
- the returnCallbackProxyFactory to set
Copyright © 2010. All Rights Reserved.