|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.naming.RefAddr | +--tyrex.naming.ReferenceRefAddr
This class allows referenceable objects to be stored inside of other references.
Fields inherited from class javax.naming.RefAddr |
addrType |
Constructor Summary | |
(package private) |
ReferenceRefAddr(java.lang.String addressType,
javax.naming.Reference reference)
Create the ReferenceRefAddr with the specified arguments. |
(package private) |
ReferenceRefAddr(java.lang.String addressType,
javax.naming.Referenceable referenceable)
Create the ReferenceRefAddr with the specified arguments. |
(package private) |
ReferenceRefAddr(java.lang.String addressType,
javax.naming.Referenceable referenceable,
java.util.Hashtable environment)
Create the ReferenceRefAddr with the specified arguments. |
(package private) |
ReferenceRefAddr(java.lang.String addressType,
javax.naming.Reference reference,
java.util.Hashtable environment)
Create the ReferenceRefAddr with the specified arguments. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Return true if the specified object is of type ReferenceRefAddr and has the same underlying reference. |
java.lang.Object |
getContent()
Returns the object referred to by the underlying reference. |
int |
hashCode()
Return the hashcode of the underlying reference as the hashcode of the ReferenceRefAddr. |
Methods inherited from class javax.naming.RefAddr |
getType, toString |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
ReferenceRefAddr(java.lang.String addressType, javax.naming.Referenceable referenceable) throws javax.naming.NamingException
The reference from the specified referenceable object is retrieved and stored.
A null environment hashtable is used in the recreation of the referenceable object from the underlying reference.
addressType
- the address type of the ref addrreferenceable
- the referenceable objectReferenceRefAddr(java.lang.String addressType, javax.naming.Referenceable referenceable, java.util.Hashtable environment) throws javax.naming.NamingException
The reference from the specified referenceable object is retrieved and stored.
addressType
- the address type of the ref addrreferenceable
- the referenceable objectenvironment
- used in the recreation of the
referenceable object from the underlying reference. Can be null.ReferenceRefAddr(java.lang.String addressType, javax.naming.Reference reference)
A null environment hashtable is used in the recreation of the referenceable object from the underlying reference.
addressType
- the address type of the ref addrreference
- the referenceReferenceRefAddr(java.lang.String addressType, javax.naming.Reference reference, java.util.Hashtable environment)
addressType
- the address type of the ref addrreference
- the referenceenvironment
- used in the recreation of the
referenceable object from the underlying reference. Can be null.Method Detail |
public boolean equals(java.lang.Object object)
equals
in class javax.naming.RefAddr
object
- the objectpublic int hashCode()
hashCode
in class javax.naming.RefAddr
public java.lang.Object getContent()
getContent
in class javax.naming.RefAddr
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |