|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.naming.remote.discovery.ServiceDiscoveryEvent
public class ServiceDiscoveryEvent
This class models an event that is triggered by the binding of a new object in
the ReliableRemoteContext.
Client-side ServiceDiscoListeners are used to trap instances of this
class.
This allows client apps to be notified when new services are bound into the JNDI.
| Constructor Summary | |
|---|---|
ServiceDiscoveryEvent(java.util.Properties attributes,
java.lang.String name,
java.lang.Object service)
Constructor for ServiceDiscoveryEvent. |
|
| Method Summary | |
|---|---|
java.util.Properties |
getAttributes()
|
java.lang.String |
getName()
Returns the name under which the service was bound. |
java.lang.Object |
getService()
Returns the service that was bound. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceDiscoveryEvent(java.util.Properties attributes,
java.lang.String name,
java.lang.Object service)
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.Object getService()
throws java.rmi.RemoteException
Object.
java.rmi.RemoteExceptionpublic java.util.Properties getAttributes()
Properties corresponding to the attributes
used to bind the service within this instance.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||