de.smartics.properties.impl.config.resource
Class ResourceConfigurationPropertiesFactory
java.lang.Object
de.smartics.properties.spi.config.support.AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement>
de.smartics.properties.impl.config.resource.ResourceConfigurationPropertiesFactory
-
All Implemented Interfaces:
-
ConfigurationPropertiesFactory,
ConfigurationPropertiesManagementFactory,
Serializable
-
@ThreadSafe
public final class ResourceConfigurationPropertiesFactory
-
extends
AbstractConfigurationPropertiesFactory<
ConfigurationPropertiesManagement>
Factory to create instances of ConfigurationPropertiesManagement
to fetch properties from Maven artifacts.
-
See Also:
-
Serialized Form
Methods inherited from class de.smartics.properties.spi.config.support.AbstractConfigurationPropertiesFactory |
addPropertyProviders, addPropertyProviders, addRootLocations, addRootLocations, addRootUrls, create, createDefault, createDefaultManagement, createManagement, getArtifactRef, getFactoryConfiguration, getRegisteredConfigurationKeys, getRegistry, materialize, release, remove |
ResourceConfigurationPropertiesFactory
public ResourceConfigurationPropertiesFactory()
-
Default constructor.
createNewConfiguration
protected ConfigurationPropertiesManagement createNewConfiguration(ConfigurationKey<?> key)
throws NullPointerException,
ConfigurationException
-
Description copied from class:
AbstractConfigurationPropertiesFactory
-
Creates an empty instance of the configuration properties instance. Where the public create methods may consult a cache, this method is required to create a new instance.
-
-
Specified by:
-
createNewConfiguration
in class
AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement>
-
-
Parameters:
-
key
- the key to the instance.
-
Returns:
-
the instance. Never
null
.
-
Throws:
-
NullPointerException
- if
key
is
null
.
-
ConfigurationException
- if the configuration cannot be created.
toString
public String toString()
-
Returns the string representation of the object.
-
-
Overrides:
-
toString
in class
AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement>
-
-
Returns:
-
the string representation of the object.
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.