|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.naming.Reference
public class Reference
| Field Summary | |
|---|---|
protected Vector |
addrs
|
protected String |
classFactory
|
protected String |
classFactoryLocation
|
protected String |
className
|
| Constructor Summary | |
|---|---|
Reference(String className)
|
|
Reference(String className,
RefAddr addr)
|
|
Reference(String className,
RefAddr addr,
String factory,
String factoryLocation)
|
|
Reference(String className,
String factory,
String factoryLocation)
|
|
| Method Summary | |
|---|---|
void |
add(int posn,
RefAddr addr)
|
void |
add(RefAddr addr)
|
void |
clear()
|
Object |
clone()
clone creates a shallow clone of this. |
boolean |
equals(Object obj)
equals compares this object to another object. |
RefAddr |
get(int posn)
|
RefAddr |
get(String addrType)
|
Enumeration |
getAll()
|
String |
getClassName()
|
String |
getFactoryClassLocation()
|
String |
getFactoryClassName()
|
int |
hashCode()
hashCode returns a hash code for this object. |
Object |
remove(int posn)
|
int |
size()
|
String |
toString()
toString creates a printable string that represents this object for debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Vector addrs
protected String classFactory
protected String classFactoryLocation
protected String className
| Constructor Detail |
|---|
public Reference(String className)
public Reference(String className,
RefAddr addr)
public Reference(String className,
String factory,
String factoryLocation)
public Reference(String className,
RefAddr addr,
String factory,
String factoryLocation)
| Method Detail |
|---|
public void add(int posn,
RefAddr addr)
public void add(RefAddr addr)
public void clear()
public Object clone()
Object
clone in class Objectpublic boolean equals(Object obj)
ObjectEquals must be symmetric (a.equals(b) == b.equals(a)), reflexive (a.equals(a)==true) and transitive (a.equals(b) && b.equals(c) IMPLIES (a.equals(c))) and not change over time (a.equals(b) == a.equals(b)). a.equals(null) should always return false.
If a.equals(b) is true for two objects a and b, then a.hashCode()==b.hashCode() must hold.
The default implementation of equals returns this==other.
equals in class Objectobj - the other object.
public RefAddr get(int posn)
public RefAddr get(String addrType)
public Enumeration getAll()
public String getClassName()
public String getFactoryClassLocation()
public String getFactoryClassName()
public int hashCode()
ObjectThe default implementation returns System.identityHashCode(this).
hashCode in class Objectpublic Object remove(int posn)
public int size()
public String toString()
ObjectThe default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).
toString in class Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||