org.apache.geronimo.naming.reference
Class ResourceReference

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
                      extended by org.apache.geronimo.naming.reference.ResourceReference
All Implemented Interfaces:
Serializable, Cloneable, ClassLoaderAwareReference, KernelAwareReference

public class ResourceReference
extends ConfigurationAwareReference

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 org.apache.geronimo.naming.reference.ConfigurationAwareReference
abstractNameQueries
 
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
ResourceReference(org.apache.geronimo.kernel.repository.Artifact configId, org.apache.geronimo.gbean.AbstractNameQuery abstractNameQuery, Class iface)
           
 
Method Summary
 String getClassName()
           
 Object getContent()
           
 
Methods inherited from class org.apache.geronimo.naming.reference.ConfigurationAwareReference
getConfiguration, 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, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceReference

public ResourceReference(org.apache.geronimo.kernel.repository.Artifact configId,
                         org.apache.geronimo.gbean.AbstractNameQuery abstractNameQuery,
                         Class iface)
Parameters:
configId - the configId of the configuration that holds the reference, not the resource adapter.
abstractNameQuery - query for name of the resource adapter.
iface -
Method Detail

getClassName

public String getClassName()
Overrides:
getClassName in class org.apache.xbean.naming.reference.SimpleReference

getContent

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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.