Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Access Management Mobile and Social


oracle.security.idaas.rest.provider.common
Interface ProviderConfig


public interface ProviderConfig

This class is used in LifeCycleServiceProvider.init() method. This class plays a role similar to ServletConfig used in Servlet.init().


Method Summary
 java.lang.Iterable<java.lang.String> getConfigParamNames()
          Return the list of configuration parameter names
 java.lang.Object getConfigParamValue(java.lang.String name)
          Return a single configuration parameter value for the given name (typically a string object).
 java.lang.Object getConfigParamValues(java.lang.String name)
          Return configuration values for the given name.
<T> T
getConfigTypedValues(AttrConst<T,?> attrConst)
          Reuse AttrConst to provide this strong-typed version of getConfigParam() method.
 java.lang.String getEndpoint()
          return the endpoint corresponding to this config object
 java.lang.String getProviderName()
          return the name of this provider from configuration

 

Method Detail

getConfigParamNames

java.lang.Iterable<java.lang.String> getConfigParamNames()
Return the list of configuration parameter names
Returns:
the list of configuration parameter names

getConfigParamValues

java.lang.Object getConfigParamValues(java.lang.String name)
Return configuration values for the given name. Configuration values are typically a simple string or a collection of other values (e.g. a collection of strings)
Parameters:
name -
Returns:
the configuration parameter value for the given name

getConfigParamValue

java.lang.Object getConfigParamValue(java.lang.String name)
Return a single configuration parameter value for the given name (typically a string object). If the underlying configuration value is a List, this method will return the first entry from the list.
Parameters:
name -
Returns:
the single configuration parameter value for the given name

getConfigTypedValues

<T> T getConfigTypedValues(AttrConst<T,?> attrConst)
Reuse AttrConst to provide this strong-typed version of getConfigParam() method.
Type Parameters:
T - the strong type obtained from AttrConst declaration
Parameters:
attrConst -
Returns:
the (strongly-typed) configuration parameter value for the given AttrConst

getEndpoint

java.lang.String getEndpoint()
return the endpoint corresponding to this config object
Returns:
the endpoint corresponding to this config object

getProviderName

java.lang.String getProviderName()
return the name of this provider from configuration
Returns:
the name of this provider from configuration

Skip navigation links

Copyright (c) 2012,
Oracle All Rights Reserved.
Built 06/05/2012 17:18:07 PDT