public class DriverRepository extends Object implements DriverFactory
| Constructor and Description |
|---|
DriverRepository(Iterable<? extends ResourceMirror> resources)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T> DrainDriver<T> |
createDrain(ProcessScript<T> script)
Creates a new drain driver.
|
<T> SourceDriver<T> |
createSource(ProcessScript<T> script)
Creates a new source driver.
|
public DriverRepository(Iterable<? extends ResourceMirror> resources)
resources - original resourcesIllegalArgumentException - if any parameter is nullpublic <T> SourceDriver<T> createSource(ProcessScript<T> script) throws IOException
DriverFactorycreateSource in interface DriverFactoryT - target data model typescript - target processIOException - if failed to create a driverpublic <T> DrainDriver<T> createDrain(ProcessScript<T> script) throws IOException
DriverFactorycreateDrain in interface DriverFactoryT - target data model typescript - target processIOException - if failed to create a driverCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.