net.sf.xaj
Interface DiscoverableXmlDb

All Known Implementing Classes:
AbstractDiscoverableXmlDb, ReplicatingXmlDb, XmlDbWebRemoteService

public interface DiscoverableXmlDb

API for XmlDb implementations that are discoverable via some service locator.

Version:
$Revision: 45 $ $Date: 2007-10-07 19:40:28 +1300 (Sun, 07 Oct 2007) $
Author:
matt

Method Summary
 java.lang.String getServiceKey()
          Get a unique key that can be used to represent this service.
 XmlDb getXmlDb()
          Get the XmlDb instance represented by this service key.
 

Method Detail

getServiceKey

java.lang.String getServiceKey()
Get a unique key that can be used to represent this service.

Returns:
the service key

getXmlDb

XmlDb getXmlDb()
Get the XmlDb instance represented by this service key.

Returns:
the XmlDb instance