|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.esw.util.SupportObject | +--net.sourceforge.esw.service.ReggieLookup
This singleton will locate all reachable Jini Reggie Servers and store them for use by any requesting Client.
For environments that do not have multicast enabled (which Jini uses for discovery), or for enabling Unicast Discovery, create properties using the properties framework in the form of . . .
. . . for as many Unicast Discovered Reggie services you wish to Discover. Multicast will still be used as well as Unicast.hostNameOfAReggieService hostNameOfAReggieService hostNameOfAReggieService . . .
This object utilizes the Singleton Design Pattern.
Field Summary | |
protected net.sourceforge.esw.service.ReggieLookup.Listener |
listener
The DiscoveryListener watching for Reggie services in the Enterprise, adding and removing the services to and from the List. |
protected net.jini.discovery.LookupDiscoveryManager |
lookupDiscovery
The object that performs the dicovery of Reggie services, notifying the DiscoveryListener of a discoverd reggie or a discarded reggie. |
protected static ReggieLookup |
reggieLookup
The Singleton instance of this ReggieLookup. |
protected ListenerSupport |
reggies
The current list of Reggie lookup services discovered in the Enterprise. |
Fields inherited from class net.sourceforge.esw.util.SupportObject |
id, properties, propertyChildren, propertyListeners, vetoableChildren, vetoableListeners |
Method Summary | |
net.jini.discovery.LookupDiscoveryManager |
getLookupDiscoveryManager()
Returns the LookupDiscoveryManager that is responsible for finding Reggie services in the Enterprise and reporting them to us. |
java.lang.Object[] |
getReggies()
Returns the current set of found Reggie Services. |
static ReggieLookup |
instance()
Returns the Singleton instance of this ReggieLookup. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected net.jini.discovery.LookupDiscoveryManager lookupDiscovery
protected net.sourceforge.esw.service.ReggieLookup.Listener listener
protected ListenerSupport reggies
protected static ReggieLookup reggieLookup
Method Detail |
public static ReggieLookup instance()
public net.jini.discovery.LookupDiscoveryManager getLookupDiscoveryManager()
public java.lang.Object[] getReggies()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |