|
||||||||||
| 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. |
abstract Connection |
getConnection()
|
static Connection |
getConnection(String dataSourceName,
ExecutionContext executionContext)
|
abstract String |
getName()
|
abstract boolean |
isAutoCommit()
|
void |
onChildElement(SAXElement element,
SAXElement childElement,
ExecutionContext executionContext)
Process the onChildElement event for the targeted element. |
void |
onChildText(SAXElement element,
SAXText childText,
ExecutionContext executionContext)
Process the onChildText event for the targeted element. |
protected void |
unbind(ExecutionContext executionContext)
|
void |
visitAfter(Element element,
ExecutionContext executionContext)
Visit the supplied element after visiting its child elements. |
void |
visitAfter(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element after visiting its child elements. |
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 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 void onChildText(SAXElement element,
SAXText childText,
ExecutionContext executionContext)
throws SmooksException,
IOException
SAXVisitChildren
onChildText in interface SAXVisitChildrenelement - The element containing the text (parent). The targeted element.childText - The text.executionContext - Execution context.
SmooksException - Event processing failure.
IOException - Error writing event to output writer.
public void onChildElement(SAXElement element,
SAXElement childElement,
ExecutionContext executionContext)
throws SmooksException,
IOException
SAXVisitChildren
onChildElement in interface SAXVisitChildrenelement - The element containing the child element (parent). The targeted element.childElement - The child element just added to the targeted element.executionContext - Execution context.
SmooksException - Event processing failure.
IOException - Error writing event to output writer.
public void visitAfter(SAXElement element,
ExecutionContext executionContext)
throws SmooksException,
IOException
SAXVisitAfter
visitAfter in interface SAXVisitAfterelement - The SAX element being visited.executionContext - Execution context.
SmooksException - Event processing failure.
IOException - Error writing event to output writer.
public 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 void visitAfter(Element element,
ExecutionContext executionContext)
throws SmooksException
DOMVisitAfter
visitAfter in interface DOMVisitAfterelement - The DOM element being visited.executionContext - Request relative instance.
SmooksException - Element processing failure.public 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 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 | |||||||||