public abstract class SimpleReference extends Reference
Modifier and Type | Class and Description |
---|---|
static class |
SimpleReference.SimpleObjectFactory
Simply calls getContent() on the SimpleReference
|
addrs, classFactory, classFactoryLocation, className
Constructor and Description |
---|
SimpleReference() |
Modifier and Type | Method and Description |
---|---|
void |
add(int posn,
RefAddr addr) |
void |
add(RefAddr addr) |
void |
clear() |
Object |
clone() |
boolean |
equals(Object obj) |
RefAddr |
get(int posn) |
RefAddr |
get(String addrType) |
Enumeration<RefAddr> |
getAll() |
String |
getClassName()
We will atleast return an Object.
|
abstract Object |
getContent()
Gets the actual referenced Object.
|
String |
getFactoryClassLocation() |
String |
getFactoryClassName()
If the JNDI context does not understand simple references, this method will be called
to obtain the class name of a factory.
|
int |
hashCode() |
Object |
remove(int posn) |
int |
size() |
String |
toString() |
public abstract Object getContent() throws NamingException
NamingException
- on errorpublic String getClassName()
getClassName
in class Reference
public final String getFactoryClassName()
getFactoryClassName
in class Reference
public final String getFactoryClassLocation()
getFactoryClassLocation
in class Reference
public final Enumeration<RefAddr> getAll()
Copyright © 2005-2016. All Rights Reserved.