public abstract class DataSource<R extends DataSourceRuntime,C extends PipelineComponentConfiguration<C>> extends PipelineComponent<R,C>
CasDataSource
annotation and have a zero argument constructor.
CAS creates exactly one instance of the DataSource
at start-up time and will call
createDataSourceRuntime
to create a runtime object each time an acquisition is started.
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
abstract R |
createDataSourceRuntime(C configuration,
PipelineComponentRuntimeContext context)
Creates a runtime instance of this extension.
|
deleteInstance, getComponentContext, getConfigurationClass, getRuntimeClass, setComponentContext
public abstract R createDataSourceRuntime(C configuration, PipelineComponentRuntimeContext context) throws PipelineInitializationException
configuration
- the configuration to be used in the new runtimecontext
- the context to use in the new runtimeDataSourceRuntime
PipelineInitializationException
- if creation of the DataSourceRuntime
failed.Copyright © 2007, 2015, Oracle and/or its affiliates. All rights reserved.