Rio Project 4.2 API Documentation



org.rioproject.cybernode
Class ServiceConsumer

java.lang.Object
  extended by org.rioproject.resources.client.ServiceDiscoveryAdapter
      extended by org.rioproject.cybernode.ServiceConsumer
All Implemented Interfaces:
ServiceDiscoveryListener

public class ServiceConsumer
extends ServiceDiscoveryAdapter

The ServiceConsumer manages the discovery, registration and update of the ResourceCapability component to discovered ProvisionManager instances

Author:
Dennis Reedy

Method Summary
 void serviceAdded(ServiceDiscoveryEvent sdEvent)
          Notification that a Provisioner has been discovered
 void serviceRemoved(ServiceDiscoveryEvent sdEvent)
          Notification that a Provisioner has been removed
 
Methods inherited from class org.rioproject.resources.client.ServiceDiscoveryAdapter
serviceChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

serviceAdded

public void serviceAdded(ServiceDiscoveryEvent sdEvent)
Notification that a Provisioner has been discovered

Specified by:
serviceAdded in interface ServiceDiscoveryListener
Overrides:
serviceAdded in class ServiceDiscoveryAdapter
Parameters:
sdEvent - The ServiceDiscoveryEvent
See Also:
ServiceDiscoveryListener.serviceAdded(net.jini.lookup.ServiceDiscoveryEvent)

serviceRemoved

public void serviceRemoved(ServiceDiscoveryEvent sdEvent)
Notification that a Provisioner has been removed

Specified by:
serviceRemoved in interface ServiceDiscoveryListener
Overrides:
serviceRemoved in class ServiceDiscoveryAdapter
Parameters:
sdEvent - The ServiceDiscoveryEvent
See Also:
ServiceDiscoveryListener.serviceRemoved(net.jini.lookup.ServiceDiscoveryEvent)

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.