public class JdbcResourceManipulator extends ResourceManipulator
ResourceManipulator using JDBC.| Constructor and Description |
|---|
JdbcResourceManipulator(JdbcProfile profile,
ParameterList arguments)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupDrain(ProcessScript<?> script)
Cleanups the drain of this resource.
|
void |
cleanupSource(ProcessScript<?> script)
Cleanups the source of this resource.
|
<T> DrainDriver<T> |
createDrainForDrain(ProcessScript<T> script)
Creates a new drain driver for the drain of this resource.
|
<T> DrainDriver<T> |
createDrainForSource(ProcessScript<T> script)
Creates a new drain driver for the source of this resource.
|
<T> SourceDriver<T> |
createSourceForDrain(ProcessScript<T> script)
Creates a new source driver for the drain of this resource.
|
<T> SourceDriver<T> |
createSourceForSource(ProcessScript<T> script)
Creates a new source driver for the source of this resource.
|
String |
getName()
Returns the name of this resource.
|
public JdbcResourceManipulator(JdbcProfile profile, ParameterList arguments)
profile - the profilearguments - the argumentsIllegalArgumentException - if some parameters were nullpublic String getName()
ResourceManipulatorgetName in class ResourceManipulatorpublic void cleanupSource(ProcessScript<?> script) throws IOException
ResourceManipulatorcleanupSource in class ResourceManipulatorscript - target processIOException - if failed to cleanup this resourcepublic void cleanupDrain(ProcessScript<?> script) throws IOException
ResourceManipulatorcleanupDrain in class ResourceManipulatorscript - target processIOException - if failed to cleanup this resourcepublic <T> SourceDriver<T> createSourceForSource(ProcessScript<T> script) throws IOException
ResourceManipulatorcreateSourceForSource in class ResourceManipulatorT - target data model typescript - target processIOException - if failed to open this resourcepublic <T> DrainDriver<T> createDrainForSource(ProcessScript<T> script) throws IOException
ResourceManipulatorcreateDrainForSource in class ResourceManipulatorT - target data model typescript - target processIOException - if failed to open this resourcepublic <T> SourceDriver<T> createSourceForDrain(ProcessScript<T> script) throws IOException
ResourceManipulatorcreateSourceForDrain in class ResourceManipulatorT - target data model typescript - target processIOException - if failed to open this resourcepublic <T> DrainDriver<T> createDrainForDrain(ProcessScript<T> script) throws IOException
ResourceManipulatorcreateDrainForDrain in class ResourceManipulatorT - target data model typescript - target processIOException - if failed to open this resourceCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.