org.apache.geronimo.naming.reference
Class KernelReference

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.KernelReference
All Implemented Interfaces:
ClassLoaderAwareReference, Cloneable, KernelAwareReference, Serializable

public class KernelReference
extends SimpleAwareReference

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $
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 javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
KernelReference()
           
 
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.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

KernelReference

public KernelReference()
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
Description copied from class: SimpleReference
Gets the actual referenced Object.

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


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