|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.db.AbstractDataSource
public abstract class AbstractDataSource
DataSource management resource.
| Constructor Summary | |
|---|---|
AbstractDataSource()
|
|
| Method Summary | |
|---|---|
void |
executeExecutionLifecycleCleanup(ExecutionContext executionContext)
Cleanup the resources allocated by this resource for the specified ExecutionContext. |
void |
executeVisitLifecycleCleanup(ExecutionContext executionContext)
Cleanup the resources allocated by this resource for the specified ExecutionContext. |
abstract Connection |
getConnection()
|
static Connection |
getConnection(String dataSourceName,
ExecutionContext executionContext)
|
abstract String |
getName()
|
Set<String> |
getProducts()
Get the set of products produced by this producer instance. |
abstract boolean |
isAutoCommit()
|
protected void |
unbind(ExecutionContext executionContext)
|
void |
visitBefore(Element element,
ExecutionContext executionContext)
Visit the supplied element before visiting its child elements. |
void |
visitBefore(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element before visiting its child elements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDataSource()
| Method Detail |
|---|
public final void visitBefore(SAXElement element,
ExecutionContext executionContext)
throws SmooksException,
IOException
SAXVisitBefore
visitBefore in interface SAXVisitBeforeelement - The SAX element being visited.executionContext - Execution context.
SmooksException - Event processing failure.
IOException - Error writing event to output writer.
public final void visitBefore(Element element,
ExecutionContext executionContext)
throws SmooksException
DOMVisitBefore
visitBefore in interface DOMVisitBeforeelement - The DOM element being visited.executionContext - Request relative instance.
SmooksException - Element processing failure.public final void executeVisitLifecycleCleanup(ExecutionContext executionContext)
VisitLifecycleCleanable
executeVisitLifecycleCleanup in interface VisitLifecycleCleanableexecutionContext - The ExecutionContext.public final void executeExecutionLifecycleCleanup(ExecutionContext executionContext)
ExecutionLifecycleCleanable
executeExecutionLifecycleCleanup in interface ExecutionLifecycleCleanableexecutionContext - The ExecutionContext.protected void unbind(ExecutionContext executionContext)
public static Connection getConnection(String dataSourceName,
ExecutionContext executionContext)
throws SmooksException
SmooksExceptionpublic Set<String> getProducts()
Producer
getProducts in interface Producerpublic abstract String getName()
public abstract Connection getConnection()
throws SQLException
SQLExceptionpublic abstract boolean isAutoCommit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||