| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.remoting.AbstractRemotingBase
ch.elca.el4j.services.remoting.RemotingServiceExporter
public class RemotingServiceExporter
This class is the global remote service exporter bean.
| Field Summary | 
|---|
| Fields inherited from class ch.elca.el4j.services.remoting.AbstractRemotingBase | 
|---|
SERVICE_NAME_SUFFIX | 
| Constructor Summary | |
|---|---|
RemotingServiceExporter()
 | 
|
| Method Summary | |
|---|---|
 void | 
afterPropertiesSet()
 | 
 ApplicationContext | 
getApplicationContext()
 | 
 String | 
getBeanName()
 | 
protected  Object | 
getFreshExporterBean()
Creates a fresh exporter bean wraps a potentially enriched service interface.  | 
 Object | 
getObject()
 | 
 Class | 
getObjectType()
 | 
 String | 
getService()
 | 
 Class | 
getServiceInterfaceWithContext(Class serviceInterface)
Lazily enriches the service's interface, adding the implicit context passing stuff.  | 
 boolean | 
isSingleton()
 | 
 void | 
setApplicationContext(ApplicationContext applicationContext)
 | 
 void | 
setBeanName(String name)
 | 
 void | 
setService(String service)
Sets the service's bean name.  | 
 void | 
setSingleton(boolean singleton)
Sets whether the objects returned by the factory are singltons 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 | 
|---|
public RemotingServiceExporter()
| Method Detail | 
|---|
public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class AbstractRemotingBaseExceptionpublic Class getServiceInterfaceWithContext(Class serviceInterface)
serviceInterface - The interface to enrich.
protected Object getFreshExporterBean()
public Object getObject()
                 throws Exception
getObject in interface FactoryBeanExceptionpublic Class getObjectType()
getObjectType in interface FactoryBeanpublic void setSingleton(boolean singleton)
singleton - true for returning singletons.public boolean isSingleton()
isSingleton in interface FactoryBeanpublic String getBeanName()
public void setBeanName(String name)
setBeanName in interface BeanNameAwarepublic ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext applicationContext)
setApplicationContext in interface ApplicationContextAwarepublic String getService()
public void setService(String service)
service - The bean name to set.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||