public class CachingReference extends SimpleReference
SimpleReference.SimpleObjectFactory
addrs, classFactory, classFactoryLocation
Constructor and Description |
---|
CachingReference(String fullName,
Reference reference,
Context context) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
We will atleast return an Object.
|
Object |
getContent()
Gets the actual referenced Object.
|
static Object |
wrapReference(String fullName,
Object value,
Context context) |
static Map<String,Object> |
wrapReferences(Map<String,Object> bindings,
Context context) |
add, add, clear, clone, equals, get, get, getAll, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString
public static Map<String,Object> wrapReferences(Map<String,Object> bindings, Context context)
public Object getContent() throws NamingException
SimpleReference
getContent
in class SimpleReference
NamingException
- on errorpublic String getClassName()
SimpleReference
getClassName
in class SimpleReference
Copyright © 2005-2017. All Rights Reserved.