Skip navigation links
oracle.security.opss.service.config
Class RuntimeConfigurationServiceProvider
java.lang.Object
oracle.security.opss.service.config.RuntimeConfigurationServiceProvider
- All Implemented Interfaces:
- ServiceProvider, OpssServiceProvider
-
public abstract class RuntimeConfigurationServiceProvider
- extends java.lang.Object
- implements OpssServiceProvider
The Service Provider definition for the RuntimeConfigurationService.
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
RuntimeConfigurationServiceProvider
public RuntimeConfigurationServiceProvider()
getConfigurationService
public abstract RuntimeConfigurationService getConfigurationService()
throws ConfigurationException
- 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.
-
- Returns:
- RuntimeConfigurationService instance using the default OOTB jps-config.xml or a custom implementation
- Throws:
ConfigurationException
- if there was an error in creating the Service
getConfigurationService
public abstract RuntimeConfigurationService 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:
- RuntimeConfigurationService instance using the specified jps-config.xml
- Throws:
ConfigurationException
- if there was an error in creating the Service
newInstance
public static RuntimeConfigurationServiceProvider newInstance()
-
- Returns:
- a new instance of the RuntimeConfigurationServiceProvider
newInstance
public static RuntimeConfigurationServiceProvider newInstance(java.util.Map<java.lang.String,java.lang.Object> props)
-
- Returns:
- a new instance of the RuntimeConfigurationServiceProvider
Skip navigation links
Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.