All Packages Class Hierarchy This Package Previous Next Index
Interface vnet.yawb.YAWBBackendConnection
- public interface YAWBBackendConnection
A representation of a connection to a YAWB backend.
Only one DataStore should be used per connection. If another store is
required, another connection should be used.
-
cleanup()
- Closes the connection and performs any required cleanup.
-
getBackendID()
- Returns the identifer string of the backend that produced the
connection.
-
getDataStore(String, String)
- Returns a new Data Store containing the specified entry at the specified
root.
-
isOpen()
- Determines if the connection is still open.
getDataStore
public abstract YAWBDataStore getDataStore(String root,
String entry) throws YAWBException
- Returns a new Data Store containing the specified entry at the specified
root.
- Parameters:
- root - the entry's root
- entry - name of the entry
- Returns:
- Returns the entry's DataStore
- Throws: YAWBException
- if a YAWB error occured
getBackendID
public abstract String getBackendID()
- Returns the identifer string of the backend that produced the
connection.
- Returns:
- originating backend's ID
isOpen
public abstract boolean isOpen()
- Determines if the connection is still open.
- Returns:
- returns true if the connection i open, otherwise returns false.
cleanup
public abstract void cleanup()
- Closes the connection and performs any required cleanup.
All Packages Class Hierarchy This Package Previous Next Index