|
[Deprecated API] | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | CURRENT API | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.interface21.remoting.support.RemoteProxyFactoryBean
Abstract base class for factory beans proxying a remote service. Exposes the proxy when used as bean reference. Used e.g. by the Caucho and RMI proxy factory implementations.
Subclasses just need to implement createProxy, using the properties of the factory instance.
createProxy()| Constructor Summary | |
RemoteProxyFactoryBean()
|
|
| Method Summary | |
void |
afterPropertiesSet()
Creates and validates the proxy, and keeps the reference. |
protected abstract java.lang.Object |
createProxy()
Create the proxy instance. |
java.lang.Object |
getObject()
Return the singleton serviceProxy proxy. |
PropertyValues |
getPropertyValues()
Property values to pass to new bean instances created by this factory. |
protected java.lang.Class |
getServiceInterface()
|
protected java.lang.String |
getServiceUrl()
|
boolean |
isSingleton()
Is the bean managed by this factory a singleton or a prototype? |
void |
setServiceInterface(java.lang.Class serviceInterface)
Set the interface of the serviceProxy that this factory should create a proxy for. |
void |
setServiceUrl(java.lang.String serviceUrl)
Set the URL of the serviceProxy that this factory should create a proxy for. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RemoteProxyFactoryBean()
| Method Detail |
public void setServiceInterface(java.lang.Class serviceInterface)
protected java.lang.Class getServiceInterface()
public void setServiceUrl(java.lang.String serviceUrl)
protected java.lang.String getServiceUrl()
public void afterPropertiesSet()
throws java.net.MalformedURLException,
RemoteAccessException
afterPropertiesSet in interface InitializingBeancreateProxy()
protected abstract java.lang.Object createProxy()
throws java.net.MalformedURLException,
RemoteAccessException
public java.lang.Object getObject()
getObject in interface FactoryBeancom.interface21.beans.factory.FactoryBeanpublic boolean isSingleton()
FactoryBeanisSingleton in interface FactoryBeancom.interface21.beans.factory.FactoryBeanpublic PropertyValues getPropertyValues()
FactoryBeangetPropertyValues in interface FactoryBeancom.interface21.beans.factory.FactoryBean
|
[Deprecated API] | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | CURRENT API | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||