|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.common.xml.databases.existlibrary.PooledConnectionImpl
public class PooledConnectionImpl
Partial implementation of a pooled XML DB connection
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.gcube.common.xml.databases.existlibrary.PooledConnection |
---|
PooledConnection.NoConnectionAvailableException |
Constructor Summary | |
---|---|
PooledConnectionImpl()
PooledConnectionImpl constructor |
Method Summary | |
---|---|
XMLResource |
createXMLResource(java.lang.String name,
java.lang.Object content)
Creates a XMLResource |
Collection |
getRootCollection()
Return the root collection |
void |
repairConnection()
repairs the Connection |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PooledConnectionImpl() throws PooledConnection.NoConnectionAvailableException
NoConnectionAvailableException
PooledConnection.NoConnectionAvailableException
Method Detail |
---|
public Collection getRootCollection() throws Collection.CollectionException
PooledConnection
getRootCollection
in interface PooledConnection
Collection.CollectionException
- if something failspublic void repairConnection() throws PooledConnection.NoConnectionAvailableException
repairConnection
in interface PooledConnection
PooledConnection.NoConnectionAvailableException
public XMLResource createXMLResource(java.lang.String name, java.lang.Object content) throws Collection.CollectionException
createXMLResource
in interface PooledConnection
name
- content
- resource content
Collection.CollectionException
- is something fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |