Version: 1.1.1

org.biomoby.shared
Interface CentralDigest

All Known Subinterfaces:
CentralAll, CentralCached
All Known Implementing Classes:
CentralCachedCallsImpl, CentralDigestCachedImpl, CentralDigestCachedSimpleImpl, CentralDigestImpl

public interface CentralDigest

An interface to the cumulated (digested) contents of the Moby Registry.

The main purpose of this interface is for those clients that are accessing the whole, or a substantial part of, Moby registry. The implementation may use some less documented features of the Moby registry API that allow to get more information in one go - saving significantly network and time.

Version:
$Id: CentralDigest.java,v 1.4 2006/07/07 04:12:40 gordonp Exp $
Author:
Martin Senger

Method Summary
 MobyDataType[] getDataTypes()
          Get definition of all known data types.
 MobyServiceType[] getFullServiceTypes()
          Get definition of all known service types.
 MobyService[] getServices()
          Get definition of all registered service instances.
 

Method Detail

getDataTypes

MobyDataType[] getDataTypes()
                            throws MobyException
Get definition of all known data types. It is a cumulation of many individual calls to Central.getDataType(java.lang.String) for all registered data type names.

Throws:
MobyException - if communication with the Moby Registry fails

getFullServiceTypes

MobyServiceType[] getFullServiceTypes()
                                      throws MobyException
Get definition of all known service types. It differs from the Central.getServiceTypes() because it returns an array of full definitions of service types, and not just their names and descriptions.

Throws:
MobyException - if communication with the Moby Registry fails

getServices

MobyService[] getServices()
                          throws MobyException
Get definition of all registered service instances. It is a cumulation of many individual calls to findService by name for all known service names.

Throws:
MobyException - if communication with the Moby Registry fails

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010