Package net.officefloor.jdbc.postgresql
Class PostgreSqlReadOnlyConnectionManagedObjectSource
- 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.postgresql.PostgreSqlReadOnlyConnectionManagedObjectSource
-
- All Implemented Interfaces:
ManagedObject
,ManagedObjectSource<None,None>
,ConnectionPoolDataSourceFactory
,DataSourceFactory
,PostgreSqlDataSourceFactory
public class PostgreSqlReadOnlyConnectionManagedObjectSource extends ReadOnlyConnectionManagedObjectSource implements PostgreSqlDataSourceFactory
PostgreSQLConnectionManagedObjectSource
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.jdbc.AbstractJdbcManagedObjectSource
AbstractJdbcManagedObjectSource.ConnectionConnectivity, AbstractJdbcManagedObjectSource.Connectivity, AbstractJdbcManagedObjectSource.ConnectivityFactory
-
Nested classes/interfaces inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource
AbstractAsyncManagedObjectSource.DependencyLabeller<K extends java.lang.Enum<K>>, AbstractAsyncManagedObjectSource.ExecutionLabeller, AbstractAsyncManagedObjectSource.Labeller<K extends java.lang.Enum<K>>, AbstractAsyncManagedObjectSource.MetaDataContext<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
-
-
Field Summary
-
Fields inherited from class net.officefloor.jdbc.AbstractJdbcManagedObjectSource
PROPERTY_DATA_SOURCE_FACTORY, PROPERTY_DATA_SOURCE_VALIDATE_SQL
-
Fields inherited from interface net.officefloor.jdbc.postgresql.PostgreSqlDataSourceFactory
PROPERTY_DATABASE_NAME, PROPERTY_PASSWORD, PROPERTY_PORT, PROPERTY_SERVER_NAME, PROPERTY_USER
-
-
Constructor Summary
Constructors Constructor Description PostgreSqlReadOnlyConnectionManagedObjectSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DataSourceFactory
getDataSourceFactory(SourceContext context)
Allows overriding to configure a differentDataSourceFactory
.void
loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Overridden to load specifications.-
Methods inherited from class net.officefloor.jdbc.ReadOnlyConnectionManagedObjectSource
getManagedObject, getObject, setupActive, setupMetaData, start, stop
-
Methods inherited from class net.officefloor.jdbc.AbstractJdbcManagedObjectSource
closeDataSource, getConnectionPoolDataSourceFactory, loadMetaData, loadValidateConnectivity, newConnectionPoolDataSource, newDataSource, setConnectivity, validateConnectivity
-
Methods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSource
sourceManagedObject
-
Methods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource
getSpecification, init
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.jdbc.postgresql.PostgreSqlDataSourceFactory
createConnectionPoolDataSource, createDataSource
-
-
-
-
Method Detail
-
loadSpecification
public void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Description copied from class:AbstractAsyncManagedObjectSource
Overridden to load specifications.- Overrides:
loadSpecification
in classAbstractJdbcManagedObjectSource
- Parameters:
context
- Specifications.
-
getDataSourceFactory
protected DataSourceFactory getDataSourceFactory(SourceContext context)
Description copied from class:AbstractJdbcManagedObjectSource
Allows overriding to configure a differentDataSourceFactory
.- Overrides:
getDataSourceFactory
in classAbstractJdbcManagedObjectSource
- Parameters:
context
-SourceContext
.- Returns:
DataSourceFactory
.
-
-