org.apache.geronimo.naming.reference
Class SimpleAwareReference

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
All Implemented Interfaces:
Serializable, Cloneable, ClassLoaderAwareReference, KernelAwareReference
Direct Known Subclasses:
ConfigurationAwareReference, KernelReference

public abstract class SimpleAwareReference
extends SimpleReference
implements KernelAwareReference, ClassLoaderAwareReference

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 javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
SimpleAwareReference()
           
 
Method Summary
 ClassLoader getClassLoader()
           
 org.apache.geronimo.kernel.Kernel getKernel()
           
 void setClassLoader(ClassLoader classLoader)
           
 void setKernel(org.apache.geronimo.kernel.Kernel kernel)
           
 
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
 

Constructor Detail

SimpleAwareReference

public SimpleAwareReference()
Method Detail

getKernel

public final org.apache.geronimo.kernel.Kernel getKernel()
                                                  throws IllegalStateException
Throws:
IllegalStateException

setKernel

public final void setKernel(org.apache.geronimo.kernel.Kernel kernel)
Specified by:
setKernel in interface KernelAwareReference

getClassLoader

public ClassLoader getClassLoader()

setClassLoader

public void setClassLoader(ClassLoader classLoader)
Specified by:
setClassLoader in interface ClassLoaderAwareReference


Copyright © 2006 Apache Software Foundation. All Rights Reserved.