org.apache.geronimo.naming.reference
Class ConfigurationAwareReference

java.lang.Object
  extended byjavax.naming.Reference
      extended byorg.apache.geronimo.naming.reference.SimpleReference
          extended byorg.apache.geronimo.naming.reference.SimpleAwareReference
              extended byorg.apache.geronimo.naming.reference.ConfigurationAwareReference
All Implemented Interfaces:
ClassLoaderAwareReference, Cloneable, KernelAwareReference, Serializable
Direct Known Subclasses:
GBeanReference, HandleDelegateReference, ORBReference, 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!

Version:
$Rev: 412621 $ $Date: 2006-06-08 02:17:32 +0200 (Thu, 08 Jun 2006) $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.geronimo.naming.reference.SimpleReference
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.geronimo.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 © 2003-2007 Apache Software Foundation. All Rights Reserved.