gnu.beanfactory.rmi
Class RMIReferenceAdapter

java.lang.Object
  |
  +--gnu.beanfactory.rmi.RMIReferenceAdapter
All Implemented Interfaces:
FactoryAdapter

public class RMIReferenceAdapter
extends java.lang.Object
implements FactoryAdapter

Adaptor for binding RMI references to the BeanFactory container.


Constructor Summary
RMIReferenceAdapter()
           
 
Method Summary
 java.lang.Object createBean()
          Emits a bean.
 java.lang.String getUrl()
          RMI URL to the remote object.
 void setUrl(java.lang.String u)
          RMI URL to the remote object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIReferenceAdapter

public RMIReferenceAdapter()
Method Detail

createBean

public java.lang.Object createBean()
                            throws EncapsulatedException
Description copied from interface: FactoryAdapter
Emits a bean.
Specified by:
createBean in interface FactoryAdapter
Following copied from interface: gnu.beanfactory.FactoryAdapter
Returns:
the bean

getUrl

public java.lang.String getUrl()
RMI URL to the remote object.

setUrl

public void setUrl(java.lang.String u)
RMI URL to the remote object.