public abstract class RuntimeConfigurationServiceProvider 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 |
---|
RuntimeConfigurationServiceProvider() |
Modifier and Type | Method and Description |
---|---|
abstract RuntimeConfigurationService |
getConfigurationService()
A Configuration Service obtained in this way will use the base configuration from the OOTB jps-config.xml or it may not have a jps-config.xml in the environment and hence may supply its own custom implementation.
|
abstract RuntimeConfigurationService |
getConfigurationService(java.net.URI jpsConfigPath)
A Configuration Service obtained in this way will use the base configuration from the specified jps-config.xml.
|
static RuntimeConfigurationServiceProvider |
newInstance() |
static RuntimeConfigurationServiceProvider |
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 abstract RuntimeConfigurationService getConfigurationService() throws ConfigurationException
ConfigurationException
- if there was an error in creating the Servicepublic abstract RuntimeConfigurationService getConfigurationService(java.net.URI jpsConfigPath) throws ConfigurationException
jpsConfigPath
- path to jps-config.xmlConfigurationException
- if there was an error in creating the Servicepublic static RuntimeConfigurationServiceProvider newInstance()
public static RuntimeConfigurationServiceProvider newInstance(java.util.Map<java.lang.String,java.lang.Object> props)