Skip navigation links
oracle.security.opss.service.config
Class ConfigurationManagementServiceProvider
java.lang.Object
oracle.security.opss.service.config.ConfigurationManagementServiceProvider
- All Implemented Interfaces:
- ServiceProvider, OpssServiceProvider
-
public abstract class ConfigurationManagementServiceProvider
- extends java.lang.Object
- implements OpssServiceProvider
The Service Provider definition for the ConfigurationManagementService.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROVIDER_CLASS_PROPERTY
public static final java.lang.String PROVIDER_CLASS_PROPERTY
- System Property that can be set to override the default provider class
- See Also:
- Constant Field Values
DEFAULT_IMPL_CLASS
public static final java.lang.String DEFAULT_IMPL_CLASS
-
- See Also:
- Constant Field Values
ConfigurationManagementServiceProvider
public ConfigurationManagementServiceProvider()
getConfigurationService
public abstract ConfigurationManagementService getConfigurationService()
throws ConfigurationException
- A Configuration Service obtained in this way will use the base configuration from the OOTB jps-config.xml.
-
- Returns:
- ConfigurationManagementService instance using the default OOTB jps-config.xml
- Throws:
ConfigurationException
- if there was an error in creating the Service
getConfigurationService
public abstract ConfigurationManagementService getConfigurationService(java.net.URI jpsConfigPath)
throws ConfigurationException
- A Configuration Service obtained in this way will use the base configuration from the specified jps-config.xml.
-
- Parameters:
jpsConfigPath
- path to jps-config.xml
- Returns:
- ConfigurationManagementService instance
- Throws:
ConfigurationException
- if there was an error in creating the Service
getConfigurationService
public abstract <T extends JpsConfigurationPMetaFactory> ConfigurationManagementService getConfigurationService(java.lang.Class<T> persistenceMetaFactoryClass,
java.util.Properties props)
throws ConfigurationException
- A Configuration Service obtained in this way will serve the configuration as understood by the supplied JpsConfigurationPMetaFactory implementation class. This method Serves as a way to allow pluggability of Configuration Persistence Layer. It also allows OPSS Clients (who may possibly not have a jps-config.xml in their environment) to supply their own custom implementation of the Persistence Layer Configuration Elements. The Configuration Service would then be able to create and manage the Runtime and Management Configuration Views for the configuration.
-
- Parameters:
persistenceMetaFactoryClass
- Class object which implements the JpsConfigurationPMetaFactory
props
- properties to be passed to the MetaFactory implementation class constructor.
- Returns:
- ConfigurationManagementService instance
- Throws:
ConfigurationException
- if there was an error in creating the Service
newInstance
public static ConfigurationManagementServiceProvider newInstance(java.util.Map<java.lang.String,java.lang.Object> props)
-
- Returns:
- a new instance of the ConfigurationManagementServiceProvider
Skip navigation links
Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.