Class CachingReference
java.lang.Object
javax.naming.Reference
org.apache.xbean.naming.reference.SimpleReference
org.apache.xbean.naming.reference.CachingReference
- All Implemented Interfaces:
Serializable,Cloneable
- Version:
- $Rev: 355877 $ $Date: 2005-12-10 18:48:27 -0800 (Sat, 10 Dec 2005) $
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xbean.naming.reference.SimpleReference
SimpleReference.SimpleObjectFactory -
Field Summary
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWe will atleast return an Object.Gets the actual referenced Object.static ObjectwrapReference(String fullName, Object value, Context context) wrapReferences(Map<String, Object> bindings, Context context) Methods inherited from class org.apache.xbean.naming.reference.SimpleReference
add, add, clear, clone, equals, get, get, getAll, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString
-
Constructor Details
-
CachingReference
-
-
Method Details
-
wrapReference
-
wrapReferences
-
getContent
Description copied from class:SimpleReferenceGets the actual referenced Object.- Specified by:
getContentin classSimpleReference- Returns:
- the referenced object
- Throws:
NamingException- on error
-
getClassName
Description copied from class:SimpleReferenceWe will atleast return an Object. Subclasses may want to provide a more specific class.- Overrides:
getClassNamein classSimpleReference- Returns:
- "java.lang.Object"
-