public interface PooledConnection
Modifier and Type | Interface and Description |
---|---|
static class |
PooledConnection.NoConnectionAvailableException |
Modifier and Type | Method and Description |
---|---|
XMLResource |
createXMLResource(java.lang.String name,
java.lang.Object content)
it creates the XMLresource
|
Collection |
getRootCollection()
Return the root collection
|
void |
repairConnection()
repairs the connection
|
Collection getRootCollection() throws Collection.CollectionException
Collection.CollectionException
- if something failsXMLResource createXMLResource(java.lang.String name, java.lang.Object content) throws Collection.CollectionException
name
- resource namecontent
- resource contentCollection.CollectionException
- is something failsvoid repairConnection() throws PooledConnection.NoConnectionAvailableException