All Packages Class Hierarchy This Package Previous Next Index
Interface vnet.yawb.YAWBBackend
- public interface YAWBBackend
A representation of a YAWB backend.
-
newConnection()
- Opens a new Connection to the implementation backend.
-
setConf(Properties)
- Sets the backend's configuration.
newConnection
public abstract YAWBBackendConnection newConnection() throws YAWBException
- Opens a new Connection to the implementation backend.
- Returns:
- Returns a new connection to the backend
- Throws: YAWBException
- if this method is called before setConf has
been called or of a YAWB error has occured
setConf
public abstract void setConf(Properties conf) throws YAWBException, NullPointerException
- Sets the backend's configuration. This method must be called before
new connections can be opened.
- Parameters:
- conf - configuration data for the backend
- Throws: YAWBException
- if a YAWB error occurs
- Throws: NullPointerException
- if conf is null
All Packages Class Hierarchy This Package Previous Next Index