Package net.officefloor.jdbc.h2
Class H2ReadOnlyConnectionManagedObjectSource
java.lang.Object
net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource<O,F>
net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSource<None,None>
net.officefloor.jdbc.AbstractJdbcManagedObjectSource
net.officefloor.jdbc.ReadOnlyConnectionManagedObjectSource
net.officefloor.jdbc.h2.H2ReadOnlyConnectionManagedObjectSource
- All Implemented Interfaces:
ManagedObject,ManagedObjectSource<None,,None> ConnectionPoolDataSourceFactory,DataSourceFactory,H2DataSourceFactory
public class H2ReadOnlyConnectionManagedObjectSource
extends ReadOnlyConnectionManagedObjectSource
implements H2DataSourceFactory
H2 read-only
ConnectionManagedObjectSource.- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.officefloor.jdbc.AbstractJdbcManagedObjectSource
AbstractJdbcManagedObjectSource.ConnectionConnectivity, AbstractJdbcManagedObjectSource.Connectivity, AbstractJdbcManagedObjectSource.ConnectivityFactoryNested classes/interfaces inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource
AbstractAsyncManagedObjectSource.DependencyLabeller<K extends Enum<K>>, AbstractAsyncManagedObjectSource.ExecutionLabeller, AbstractAsyncManagedObjectSource.Labeller<K extends Enum<K>>, AbstractAsyncManagedObjectSource.MetaDataContext<O extends Enum<O>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext -
Field Summary
Fields inherited from class net.officefloor.jdbc.AbstractJdbcManagedObjectSource
PROPERTY_DATA_SOURCE_FACTORY, PROPERTY_DATA_SOURCE_VALIDATE_SQLFields inherited from interface net.officefloor.jdbc.h2.H2DataSourceFactory
PROPERTY_PASSWORD, PROPERTY_URL, PROPERTY_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DataSourceFactorygetDataSourceFactory(SourceContext context) Allows overriding to configure a differentDataSourceFactory.voidOverridden to load specifications.Methods inherited from class net.officefloor.jdbc.ReadOnlyConnectionManagedObjectSource
getManagedObject, getObject, setupActive, setupMetaData, start, stopMethods inherited from class net.officefloor.jdbc.AbstractJdbcManagedObjectSource
closeDataSource, getConnectionPoolDataSourceFactory, loadMetaData, loadValidateConnectivity, newConnectionPoolDataSource, newDataSource, setConnectivity, validateConnectivityMethods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSource
sourceManagedObjectMethods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource
getSpecification, initMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.officefloor.jdbc.h2.H2DataSourceFactory
createConnectionPoolDataSource, createDataSource
-
Constructor Details
-
H2ReadOnlyConnectionManagedObjectSource
public H2ReadOnlyConnectionManagedObjectSource()
-
-
Method Details
-
loadSpecification
Description copied from class:AbstractAsyncManagedObjectSourceOverridden to load specifications.- Overrides:
loadSpecificationin classAbstractJdbcManagedObjectSource- Parameters:
context- Specifications.
-
getDataSourceFactory
Description copied from class:AbstractJdbcManagedObjectSourceAllows overriding to configure a differentDataSourceFactory.- Overrides:
getDataSourceFactoryin classAbstractJdbcManagedObjectSource- Parameters:
context-SourceContext.- Returns:
DataSourceFactory.
-