Rio Project 4.2 API Documentation



org.rioproject.watch
Interface Watchable

All Superinterfaces:
Remote
All Known Subinterfaces:
Cybernode, ProvisionMonitor, Service, ServiceBeanExecutor
All Known Implementing Classes:
AbstractProxy, BeanAdapter, CybernodeImpl, ProvisionMonitorImpl, ServiceBeanAdapter, ServiceBeanExec, ServiceProvider

public interface Watchable
extends Remote

This interface is used to fetch WatchDataSource instances that have been created and registered


Method Summary
 WatchDataSource[] fetch()
          Returns an array of all WatchDataSource instances
 WatchDataSource fetch(String id)
          Returns an array of WatchDataSource instances that match the input id.
 

Method Detail

fetch

WatchDataSource[] fetch()
                        throws RemoteException
Returns an array of all WatchDataSource instances

Returns:
An array of WatchDataSource objects
Throws:
RemoteException - If communication errors happen

fetch

WatchDataSource fetch(String id)
                      throws RemoteException
Returns an array of WatchDataSource instances that match the input id.

Parameters:
id - The identifier to fetch
Returns:
An array of WatchDataSource objects
Throws:
RemoteException - If communication errors happen

Copyright © Rio Project.

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