org.apache.geronimo.naming.reference
Class GBeanReference

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

public class GBeanReference
extends ConfigurationAwareReference

Version:
$Rev: 409817 $ $Date: 2006-05-27 09:56:38 +0200 (Sat, 27 May 2006) $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.geronimo.naming.reference.SimpleReference
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
GBeanReference(org.apache.geronimo.kernel.repository.Artifact configId, Set abstractNameQueries, Class type)
           
 
Method Summary
 String getClassName()
          We will atleast return an Object.
 Object getContent()
          Gets the actual referenced Object.
 
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.geronimo.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

GBeanReference

public GBeanReference(org.apache.geronimo.kernel.repository.Artifact configId,
                      Set abstractNameQueries,
                      Class type)
Method Detail

getClassName

public String getClassName()
Description copied from class: SimpleReference
We will atleast return an Object. Subclasses may want to provide a more specific class.

Overrides:
getClassName in class SimpleReference
Returns:
"java.lang.Object"

getContent

public Object getContent()
                  throws IllegalStateException,
                         NameNotFoundException
Description copied from class: SimpleReference
Gets the actual referenced Object.

Specified by:
getContent in class SimpleReference
Returns:
the referenced object
Throws:
IllegalStateException
NameNotFoundException


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