org.apache.openejb.core.ivm.naming
Class Reference

java.lang.Object
  extended by javax.naming.Reference
      extended by org.apache.xbean.naming.reference.SimpleReference
          extended by org.apache.openejb.core.ivm.naming.Reference
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
AxisServiceReference, BusinessLocalBeanReference, BusinessLocalReference, BusinessRemoteReference, ConnectorReference, IntraVmJndiReference, JaxRpcServiceReference, JaxRReference, JaxWsServiceReference, JndiReference, JndiUrlReference, LazyEjbReference, ObjectReference, PersistenceContextReference, PersistenceUnitReference, SpringReference, SystemComponentReference, URLReference

public abstract class Reference
extends org.apache.xbean.naming.reference.SimpleReference

This interface is implemented by special wrappers for EJB references and resource references. When the getObject( ) method is invoked the Operation is checked to ensure that its is allowed for the bean's current state.

In addition, dynamic resolution and special conditions can be encapsulated in the implementation object.

Version:
$Rev: 497833 $ $Date: 2007-01-19 15:41:45 +0100 (Fr, 19. Jan 2007) $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.xbean.naming.reference.SimpleReference
org.apache.xbean.naming.reference.SimpleReference.SimpleObjectFactory
 
Field Summary
 
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
Reference()
           
 
Method Summary
 Object getContent()
           
abstract  Object getObject()
           
 
Methods inherited from class org.apache.xbean.naming.reference.SimpleReference
add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Reference

public Reference()
Method Detail

getContent

public Object getContent()
                  throws NamingException
Specified by:
getContent in class org.apache.xbean.naming.reference.SimpleReference
Throws:
NamingException

getObject

public abstract Object getObject()
                          throws NamingException
Throws:
NamingException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.