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:
EntityManagerFactoryReference, GBeanReference, HandleDelegateReference, ORBReference, PersistenceContextReference, 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 abstractNameQueries
           
 
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
protected ConfigurationAwareReference(org.apache.geronimo.kernel.repository.Artifact configId, org.apache.geronimo.gbean.AbstractNameQuery abstractNameQuery)
           
protected ConfigurationAwareReference(org.apache.geronimo.kernel.repository.Artifact configId, Set abstractNameQueries)
           
 
Method Summary
 org.apache.geronimo.kernel.config.Configuration getConfiguration()
           
 org.apache.geronimo.gbean.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 abstractNameQueries
Constructor Detail

ConfigurationAwareReference

protected ConfigurationAwareReference(org.apache.geronimo.kernel.repository.Artifact configId,
                                      org.apache.geronimo.gbean.AbstractNameQuery abstractNameQuery)

ConfigurationAwareReference

protected ConfigurationAwareReference(org.apache.geronimo.kernel.repository.Artifact configId,
                                      Set abstractNameQueries)
Method Detail

getConfiguration

public org.apache.geronimo.kernel.config.Configuration getConfiguration()

resolveTargetName

public org.apache.geronimo.gbean.AbstractName resolveTargetName()
                                                         throws org.apache.geronimo.kernel.GBeanNotFoundException
Throws:
org.apache.geronimo.kernel.GBeanNotFoundException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.