public abstract class ConfigurationManagementServiceProvider extends java.lang.Object implements OpssServiceProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_IMPL_CLASS |
static java.lang.String |
PROVIDER_CLASS_PROPERTY
System Property that can be set to override the default provider class
|
Constructor and Description |
---|
ConfigurationManagementServiceProvider() |
Modifier and Type | Method and Description |
---|---|
abstract ConfigurationManagementService |
getConfigurationService()
A Configuration Service obtained in this way will use the base configuration from the OOTB jps-config.xml.
|
abstract <T extends JpsConfigurationPMetaFactory> |
getConfigurationService(java.lang.Class<T> persistenceMetaFactoryClass, java.util.Properties props)
A Configuration Service obtained in this way will serve the configuration as understood by the supplied JpsConfigurationPMetaFactory implementation class.
|
abstract ConfigurationManagementService |
getConfigurationService(java.net.URI jpsConfigPath)
A Configuration Service obtained in this way will use the base configuration from the specified jps-config.xml.
|
static ConfigurationManagementServiceProvider |
newInstance(java.util.Map<java.lang.String,java.lang.Object> props) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance, getPublicService
accept, getInstance, getName, getSupportedServiceTypes
public static final java.lang.String PROVIDER_CLASS_PROPERTY
public static final java.lang.String DEFAULT_IMPL_CLASS
public ConfigurationManagementServiceProvider()
public abstract ConfigurationManagementService getConfigurationService() throws ConfigurationException
ConfigurationException
- if there was an error in creating the Servicepublic abstract ConfigurationManagementService getConfigurationService(java.net.URI jpsConfigPath) throws ConfigurationException
jpsConfigPath
- path to jps-config.xmlConfigurationException
- if there was an error in creating the Servicepublic abstract <T extends JpsConfigurationPMetaFactory> ConfigurationManagementService getConfigurationService(java.lang.Class<T> persistenceMetaFactoryClass, java.util.Properties props) throws ConfigurationException
persistenceMetaFactoryClass
- Class object which implements the JpsConfigurationPMetaFactoryprops
- properties to be passed to the MetaFactory implementation class constructor.ConfigurationException
- if there was an error in creating the Servicepublic static ConfigurationManagementServiceProvider newInstance(java.util.Map<java.lang.String,java.lang.Object> props)