public abstract class ConfigurationServiceProvider extends java.lang.Object implements OpssServiceProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_IMPL_CLASS |
| Constructor and Description |
|---|
ConfigurationServiceProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract ConfigurationService |
getConfigurationService()
A Configuration Service obtained in this way can only serve the configuration from the OOTB jps-config.xml and is unaware of any Configuration Repository
|
abstract <T extends JpsConfigurationPMetaFactory> |
getConfigurationService(java.lang.Class<T> persistenceMetaFactoryClass, java.util.Properties props)
A Configuration Service obtained in this way can only serve the configuration as understood by the supplied JpsConfigurationPMetaFactory implementation class.
|
abstract ConfigurationService |
getConfigurationService(java.io.InputStream is)
A Configuration Service obtained in this way can only serve the configuration from the specified stream and is unaware of any Configuration Repository
|
abstract ConfigurationService |
getConfigurationService(java.net.URI jpsConfigPath)
A Configuration Service obtained in this way can only serve the configuration from the specified jps-config.xml and is unaware of any Configuration Repository
|
abstract ConfigurationService |
getInstance(ServiceInstanceDescriptor serviceDesc, javax.security.auth.callback.CallbackHandler cbHandler)
Creates a ServiceInstance in Init state.
|
static ConfigurationServiceProvider |
newInstance() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPublicServiceaccept, getInstance, getName, getSupportedServiceTypespublic static final java.lang.String DEFAULT_IMPL_CLASS
public abstract ConfigurationService getConfigurationService() throws ConfigurationException
ConfigurationException - Any exception during initialization of ConfigurationService servicepublic abstract ConfigurationService getConfigurationService(java.net.URI jpsConfigPath) throws ConfigurationException
jpsConfigPath - path to jps-config.xmlConfigurationException - Any exception during initialization of ConfigurationService servicepublic abstract ConfigurationService getConfigurationService(java.io.InputStream is) throws ConfigurationException
is - Input stream of jps-configConfigurationException - Any exception during initialization of ConfigurationService servicepublic abstract ConfigurationService getInstance(ServiceInstanceDescriptor serviceDesc, javax.security.auth.callback.CallbackHandler cbHandler) throws ConfigurationException
OpssServiceProvidergetInstance in interface OpssServiceProviderConfigurationExceptionpublic abstract <T extends JpsConfigurationPMetaFactory> ConfigurationService 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.ConfigurationExceptionpublic static ConfigurationServiceProvider newInstance()