com.gigaspaces.grid.space
Class SpaceAssociationManagement.SpaceAssociationHandler
java.lang.Object
org.jini.rio.resources.client.ServiceDiscoveryAdapter
org.jini.rio.associations.AssociationMgmt.AssociationHandler
com.gigaspaces.grid.space.SpaceAssociationManagement.SpaceAssociationHandler
- All Implemented Interfaces:
- net.jini.lookup.ServiceDiscoveryListener, org.jini.rio.core.FaultDetectionListener
- Enclosing class:
- SpaceAssociationManagement
public class SpaceAssociationManagement.SpaceAssociationHandler
- extends org.jini.rio.associations.AssociationMgmt.AssociationHandler
The AssociationHandler handle an Association created from
AssociationDescriptor.
Method Summary |
protected void |
notifyOnFailure(net.jini.core.lookup.ServiceItem item)
Notify on service failure |
protected void |
serviceDiscovered(net.jini.core.lookup.ServiceItem item)
Add a service |
protected void |
setFaultDetectionHandler(java.lang.Object service,
net.jini.core.lookup.ServiceID serviceID)
|
Methods inherited from class org.jini.rio.associations.AssociationMgmt.AssociationHandler |
decrement, exec, getAssociation, increment, instances, registerFaultDetectionHandler, serviceAdded, serviceFailure |
Methods inherited from class org.jini.rio.resources.client.ServiceDiscoveryAdapter |
serviceChanged, serviceRemoved |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceAssociationManagement.SpaceAssociationHandler
public SpaceAssociationManagement.SpaceAssociationHandler(org.jini.rio.core.AssociationDescriptor assocDesc)
- Create a SpaceAssociationHandler
- Parameters:
assocDesc
- The AssociationDescriptor describing the
attributes of the Association
serviceDiscovered
protected void serviceDiscovered(net.jini.core.lookup.ServiceItem item)
- Add a service
- Overrides:
serviceDiscovered
in class org.jini.rio.associations.AssociationMgmt.AssociationHandler
setFaultDetectionHandler
protected void setFaultDetectionHandler(java.lang.Object service,
net.jini.core.lookup.ServiceID serviceID)
- Overrides:
setFaultDetectionHandler
in class org.jini.rio.associations.AssociationMgmt.AssociationHandler
- Parameters:
service
- serviceID
-
notifyOnFailure
protected void notifyOnFailure(net.jini.core.lookup.ServiceItem item)
- Notify on service failure
- Overrides:
notifyOnFailure
in class org.jini.rio.associations.AssociationMgmt.AssociationHandler
Copyright (c) 2007 GigaSpaces Technologies, Inc.
All Rights Reserved.