Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


oracle.tip.pc.services.identity.config
Class Configuration

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended byoracle.tip.pc.services.identity.config.ConfigurationProperties
                  extended byoracle.tip.pc.services.identity.config.Configuration

All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class Configuration
extends ConfigurationProperties

This class represents configuration as described in the configuration file.

Since:
release specific (what release of product did this appear in)
See Also:
Serialized Form

Constructor Summary
Configuration(org.w3c.dom.Element element)
          Constructor Constructs a Configuration object out of the XML element.
Configuration(ISConfiguration isconfig, org.w3c.dom.Element element)
          Constructor Constructs a Configuration object out of the XML element.

 

Method Summary
 boolean equals(java.lang.Object obj)
          Check if object same
 java.lang.String getDisplayName()
          Gets display name associated with this configuration.
 ISConfiguration getISConfiguration()
          Gets the parent ISConfiguration of this configuration.
 ProviderCfg getProviderCfg(java.lang.String serviceName)
          Gets a ProviderCfg associated with the given service name.
 java.util.Map getProviders()
          Gets a Map of the providers associated with this configuration.
 java.lang.String getRealmName()
          Gets the name of the logical realm associated with this configuration.
 int hashCode()
          hash code for ISConfiguration
 boolean isDefault()
          Check if configuration is default
 boolean setDefault()
          Set configuration to be default
 java.lang.String toString()
          To String
 org.w3c.dom.Element toXMLElement(org.w3c.dom.Document doc, org.w3c.dom.Element rootElt)
          Returns an XMLElement representation of this configuration.

 

Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store

 

Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, remove, size, values

 

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

 

Constructor Detail

Configuration

public Configuration(ISConfiguration isconfig,
                     org.w3c.dom.Element element)
              throws BPMConfigException
Constructor Constructs a Configuration object out of the XML element. This element is expected to adhere to the schema definition.
Parameters:
isconfig - An ISConfiguration instance that is obtained using the ISConfigurationService. This instance is the parent of this Configuration. It can be null.
element - An XML element representing the configuration.
Throws:
BPMConfigException - If the element is malformed.

Configuration

public Configuration(org.w3c.dom.Element element)
              throws BPMConfigException
Constructor Constructs a Configuration object out of the XML element. This element is expected to adhere to the schema definition.
Parameters:
element - An XML element representing the configuration.
Throws:
BPMConfigException - If the element is malformed.

Method Detail

getISConfiguration

public ISConfiguration getISConfiguration()
Gets the parent ISConfiguration of this configuration. Value is null if non is associated.
Returns:
An ISConfiguration instance or null.

getRealmName

public java.lang.String getRealmName()
Gets the name of the logical realm associated with this configuration.
Returns:
Name of the logical realm.

getDisplayName

public java.lang.String getDisplayName()
Gets display name associated with this configuration.
Returns:
display name

isDefault

public boolean isDefault()
Check if configuration is default
Returns:
true if default, else false

setDefault

public boolean setDefault()
Set configuration to be default

getProviders

public java.util.Map getProviders()
Gets a Map of the providers associated with this configuration. The Map has ProviderCfg instnaces with the service name as the key.
Returns:
Map(SerivceName, ProviderCfg)

getProviderCfg

public ProviderCfg getProviderCfg(java.lang.String serviceName)
                           throws BPMConfigException
Gets a ProviderCfg associated with the given service name. If no provider is found, then the default is returned.
Parameters:
serviceName - The name of the service for which a provider is to be fetched.
Returns:
ProviderCfg
Throws:
BPMConfigException - If there are no providers associated at all.

toXMLElement

public org.w3c.dom.Element toXMLElement(org.w3c.dom.Document doc,
                                        org.w3c.dom.Element rootElt)
Returns an XMLElement representation of this configuration.
Parameters:
doc - A Document which is expected to contain this configuration as a child.
rootElt - An element that is to contain this configuration as a child.
Returns:
root Element. Returns null if a problem is encountered.

hashCode

public int hashCode()
hash code for ISConfiguration
Returns:
hash code

equals

public boolean equals(java.lang.Object obj)
Check if object same
Parameters:
obj -
Returns:
true, if same, else false

toString

public java.lang.String toString()
To String
Overrides:
toString in class ConfigurationProperties
Returns:
string representation

Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


Copyright © 2006, Oracle. All rights reserved.