org.apache.geronimo.naming.reference
Class GBeanReference
java.lang.Object
javax.naming.Reference
org.apache.geronimo.naming.reference.SimpleReference
org.apache.geronimo.naming.reference.SimpleAwareReference
org.apache.geronimo.naming.reference.ConfigurationAwareReference
org.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
Constructor Summary |
GBeanReference(org.apache.geronimo.kernel.repository.Artifact configId,
Set abstractNameQueries,
Class type)
|
Methods inherited from class org.apache.geronimo.naming.reference.SimpleReference |
add, add, clear, clone, equals, get, get, getAll, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString |
GBeanReference
public GBeanReference(org.apache.geronimo.kernel.repository.Artifact configId,
Set abstractNameQueries,
Class type)
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.