ch.elca.el4j.services.remoting
Class RemotingProxyFactoryBean

java.lang.Object
  extended by ch.elca.el4j.services.remoting.AbstractRemotingBase
      extended by ch.elca.el4j.services.remoting.RemotingProxyFactoryBean
All Implemented Interfaces:
FactoryBean, InitializingBean

public class RemotingProxyFactoryBean
extends AbstractRemotingBase
implements FactoryBean

This class is the global remote proxy bean.

Author:
Martin Zeltner (MZE)
File-location:
RemotingProxyFactoryBean
Last check-in date:
2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883

Field Summary
 
Fields inherited from class ch.elca.el4j.services.remoting.AbstractRemotingBase
SERVICE_NAME_SUFFIX
 
Constructor Summary
RemotingProxyFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
          
protected  Object getFreshServiceProxy()
           
 Object getObject()
          
 Class getObjectType()
          
 boolean isSingleton()
          
 void setSingleton(boolean singleton)
          Defines whether the factory creates singleton bean instances or prototypes.
 
Methods inherited from class ch.elca.el4j.services.remoting.AbstractRemotingBase
getProtocolSpecificConfiguration, getRemoteProtocol, getServiceInterface, getServiceName, setProtocolSpecificConfiguration, setRemoteProtocol, setServiceInterface, setServiceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotingProxyFactoryBean

public RemotingProxyFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface InitializingBean
Overrides:
afterPropertiesSet in class AbstractRemotingBase
Throws:
Exception

getFreshServiceProxy

protected Object getFreshServiceProxy()
Returns:
Returns a freshly created service proxy.

getObject

public Object getObject()

Specified by:
getObject in interface FactoryBean

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface FactoryBean

isSingleton

public boolean isSingleton()

Specified by:
isSingleton in interface FactoryBean

setSingleton

public void setSingleton(boolean singleton)
Defines whether the factory creates singleton bean instances or prototypes.

Parameters:
singleton - true to crate singletons, false for prototypes.


Copyright © 2005-2011 ELCA. All Rights Reserved.