Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.opss.service.config
Class ConfigurationManagementServiceProvider

java.lang.Object
  extended by 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.


Field Summary
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 Summary
ConfigurationManagementServiceProvider()
           

 

Method Summary
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>
ConfigurationManagementService
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)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.security.opss.service.OpssServiceProvider
getInstance, getPublicService

 

Methods inherited from interface oracle.security.jps.service.ServiceProvider
accept, getInstance, getName, getSupportedServiceTypes

 

Field Detail

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

Constructor Detail

ConfigurationManagementServiceProvider

public ConfigurationManagementServiceProvider()

Method Detail

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

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.