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 ConfigurationServiceProvider

java.lang.Object
  extended by oracle.security.opss.service.config.ConfigurationServiceProvider

All Implemented Interfaces:
ServiceProvider, OpssServiceProvider

public abstract class ConfigurationServiceProvider
extends java.lang.Object
implements OpssServiceProvider
Author:
vbkumarjayanti

Field Summary
static java.lang.String DEFAULT_IMPL_CLASS
           

 

Constructor Summary
ConfigurationServiceProvider()
           

 

Method Summary
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>
ConfigurationService
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()
           

 

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
getPublicService

 

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

 

Field Detail

DEFAULT_IMPL_CLASS

public static final java.lang.String DEFAULT_IMPL_CLASS
See Also:
Constant Field Values

Constructor Detail

ConfigurationServiceProvider

public ConfigurationServiceProvider()

Method Detail

getConfigurationService

public abstract ConfigurationService getConfigurationService()
                                                      throws ConfigurationException
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
Returns:
ConfigurationService instance using the default OOTB jps-config.xml
Throws:
ConfigurationException - Any exception during initialization of ConfigurationService service

getConfigurationService

public abstract ConfigurationService getConfigurationService(java.net.URI jpsConfigPath)
                                                      throws ConfigurationException
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
Parameters:
jpsConfigPath - path to jps-config.xml
Returns:
ConfigurationService instance
Throws:
ConfigurationException - Any exception during initialization of ConfigurationService service

getConfigurationService

public abstract ConfigurationService getConfigurationService(java.io.InputStream is)
                                                      throws ConfigurationException
A Configuration Service obtained in this way can only serve the configuration from the specified stream and is unaware of any Configuration Repository
Parameters:
is - Input stream of jps-config
Returns:
ConfigurationService instance
Throws:
ConfigurationException - Any exception during initialization of ConfigurationService service

getInstance

public abstract ConfigurationService getInstance(ServiceInstanceDescriptor serviceDesc,
                                                 javax.security.auth.callback.CallbackHandler cbHandler)
                                          throws ConfigurationException
Description copied from interface: OpssServiceProvider
Creates a ServiceInstance in Init state.
Specified by:
getInstance in interface OpssServiceProvider
Returns:
a ServiceInstance
Throws:
ConfigurationException

getConfigurationService

public abstract <T extends JpsConfigurationPMetaFactory> ConfigurationService getConfigurationService(java.lang.Class<T> persistenceMetaFactoryClass,
                                                                                                      java.util.Properties props)
                                                      throws ConfigurationException
A Configuration Service obtained in this way can only serve the configuration as understood by the supplied JpsConfigurationPMetaFactory implementation class. Serves as a way to allow pluggability of Configuration Persistence Layer. This method 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:
ConfigurationService instance
Throws:
ConfigurationException

newInstance

public static ConfigurationServiceProvider newInstance()

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.