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 null
public String getName()
ResourceManipulator
getName
in class ResourceManipulator
public void cleanupSource(ProcessScript<?> script) throws IOException
ResourceManipulator
cleanupSource
in class ResourceManipulator
script
- target processIOException
- if failed to cleanup this resourcepublic void cleanupDrain(ProcessScript<?> script) throws IOException
ResourceManipulator
cleanupDrain
in class ResourceManipulator
script
- target processIOException
- if failed to cleanup this resourcepublic <T> SourceDriver<T> createSourceForSource(ProcessScript<T> script) throws IOException
ResourceManipulator
createSourceForSource
in class ResourceManipulator
T
- target data model typescript
- target processIOException
- if failed to open this resourcepublic <T> DrainDriver<T> createDrainForSource(ProcessScript<T> script) throws IOException
ResourceManipulator
createDrainForSource
in class ResourceManipulator
T
- target data model typescript
- target processIOException
- if failed to open this resourcepublic <T> SourceDriver<T> createSourceForDrain(ProcessScript<T> script) throws IOException
ResourceManipulator
createSourceForDrain
in class ResourceManipulator
T
- target data model typescript
- target processIOException
- if failed to open this resourcepublic <T> DrainDriver<T> createDrainForDrain(ProcessScript<T> script) throws IOException
ResourceManipulator
createDrainForDrain
in class ResourceManipulator
T
- target data model typescript
- target processIOException
- if failed to open this resourceCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.