Serializable
, Cloneable
public class CachingReference extends SimpleReference
SimpleReference.SimpleObjectFactory
addrs, classFactory, classFactoryLocation
Constructor | Description |
---|---|
CachingReference(String fullName,
Reference reference,
Context context) |
Modifier and Type | Method | 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) |
finalize, getClass, notify, notifyAll, wait, wait, wait
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–2018. All rights reserved.