|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.rmi.AbstractRmiListener.ServiceReference
private static final class AbstractRmiListener.ServiceReference
Combines a service name, which should be a valid registry reference and a service class to a single Map key.
| Field Summary | |
|---|---|
private String |
bindname
The binding name of the service. |
private Class<?> |
service
The service class. |
| Constructor Summary | |
|---|---|
private |
AbstractRmiListener.ServiceReference(String boundas,
Class<?> boundfor)
Constructs a new ServiceReference which can be used as a key in a map. |
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Two service references are equal if they have the same binding name and the same service class. |
private String |
getBindName()
Returns the binding name of this service reference. |
private Class<?> |
getService()
Returns the service class. |
int |
hashCode()
Returns the hash key, which is identical to the has key of the binding name. |
String |
toString()
For convenience, we retreive this as the binding name, followed by a colon, followed by the class name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String bindname
private Class<?> service
| Constructor Detail |
|---|
private AbstractRmiListener.ServiceReference(String boundas,
Class<?> boundfor)
| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Objectprivate String getBindName()
private Class<?> getService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||