|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.config.support.AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement> de.smartics.properties.impl.config.ds.AutodetectDataSourceConfigurationPropertiesFactory
@ThreadSafe public class AutodetectDataSourceConfigurationPropertiesFactory
Factory, configured by properties in the "META-INF/smartics-properties/datasource.properties"
folder, to create instances of DataSourceConfigurationProperties
.
Please refer to DataSourceConfiguration
for configuration options.
Constructor Summary | |
---|---|
AutodetectDataSourceConfigurationPropertiesFactory() Default constructor. |
|
AutodetectDataSourceConfigurationPropertiesFactory(DataSourceConfiguration configuration) Constructor that enables the configuration to be set. |
Method Summary | |
---|---|
protected ConfigurationPropertiesManagement |
createNewConfiguration(ConfigurationKey<?> key) Creates an empty instance of the configuration properties instance. |
Methods inherited from class de.smartics.properties.spi.config.support.AbstractConfigurationPropertiesFactory |
---|
addPropertyProviders, addPropertyProviders, addRootLocations, addRootLocations, addRootUrls, create, createDefault, createDefaultManagement, createManagement, getArtifactRef, getFactoryConfiguration, getId, getRegisteredConfigurationKeys, getRegistry, materialize, release, remove, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AutodetectDataSourceConfigurationPropertiesFactory()
public AutodetectDataSourceConfigurationPropertiesFactory(DataSourceConfiguration configuration)
configuration
- the configuration to use for this factory.
Method Detail |
---|
protected ConfigurationPropertiesManagement createNewConfiguration(ConfigurationKey<?> key) throws NullPointerException, ConfigurationException
AbstractConfigurationPropertiesFactory
createNewConfiguration
in class
AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement>
key
- the key to the instance.
null
.
NullPointerException
- if
key
is
null
.
ConfigurationException
- if the configuration cannot be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |