org.apache.geronimo.naming.reference
Class ConfigurationAwareReference

java.lang.Object
  extended by javax.naming.Reference
      extended by org.apache.xbean.naming.reference.SimpleReference
          extended by org.apache.geronimo.naming.reference.SimpleReference
              extended by org.apache.geronimo.naming.reference.SimpleAwareReference
                  extended by org.apache.geronimo.naming.reference.ConfigurationAwareReference
All Implemented Interfaces:
Serializable, Cloneable, ClassLoaderAwareReference, KernelAwareReference
Direct Known Subclasses:
CORBAProxyReference, EjbReference, GBeanReference, HandleDelegateReference, ORBReference, PersistenceContextReference, PersistenceUnitReference, ResourceReference

public abstract class ConfigurationAwareReference
extends SimpleAwareReference

TODO: document me NOTE: this class is serialized when modules are installed. Any changes should be carefully reviewed to ensure they don't cause deserialization errors!

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
protected  Set<AbstractNameQuery> abstractNameQueries
           
 
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
protected ConfigurationAwareReference(Artifact[] configId, AbstractNameQuery abstractNameQuery)
           
protected ConfigurationAwareReference(Artifact[] configId, Set<AbstractNameQuery> abstractNameQueries)
           
 
Method Summary
 Configuration getConfiguration()
           
 AbstractName resolveTargetName()
           
 
Methods inherited from class org.apache.geronimo.naming.reference.SimpleAwareReference
getClassLoader, getKernel, setClassLoader, setKernel
 
Methods inherited from class org.apache.xbean.naming.reference.SimpleReference
add, add, clear, clone, equals, get, get, getAll, getClassName, getContent, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

abstractNameQueries

protected final Set<AbstractNameQuery> abstractNameQueries
Constructor Detail

ConfigurationAwareReference

protected ConfigurationAwareReference(Artifact[] configId,
                                      AbstractNameQuery abstractNameQuery)

ConfigurationAwareReference

protected ConfigurationAwareReference(Artifact[] configId,
                                      Set<AbstractNameQuery> abstractNameQueries)
Method Detail

getConfiguration

public Configuration getConfiguration()

resolveTargetName

public AbstractName resolveTargetName()
                               throws GBeanNotFoundException
Throws:
GBeanNotFoundException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.