|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A generic connection to a repository. Each type of repository is responsible for implementing some kind of connection, even if this connection doesn't do anything. The interface is loosely based on java.sql.Connection.
Field Summary | |
static java.lang.String |
CLASS_NAME_SUFFIX
|
Method Summary | |
void |
commit()
Commit all operation done with this active connection. |
void |
optimize()
Can do optimization of a Repository if needed |
void |
rollback()
Undo all operations done with this connection. |
void |
setAutoCommit(boolean autoCommit)
Sets this connection in autocommit mode or not. |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Field Detail |
public static final java.lang.String CLASS_NAME_SUFFIX
Method Detail |
public void commit() throws SDXException
SDXException
public void rollback() throws SDXException
SDXException
public void setAutoCommit(boolean autoCommit) throws SDXException
autoCommit
- true enables auto-commit ; false disables auto-commit.
SDXException
public void optimize() throws SDXException
SDXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |