Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


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

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.ConnectionCfg

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

public class ConnectionCfg
extends ConfigurationProperties

ConnectionCfg defines connection property : url, user, password and others.

Since:
beta 2
See Also:
Serialized Form

Constructor Summary
ConnectionCfg()
          Default constructor
ConnectionCfg(org.w3c.dom.Element element)
          Constructor
ConnectionCfg(java.util.Properties props)
          Constructor
ConnectionCfg(java.lang.String url, java.lang.String bindDN, java.lang.String password, boolean encrypted, java.util.Properties props)
          Constructor

 

Method Summary
 java.lang.String getBindDN()
          Gets BindDN
 java.lang.String getPassword()
          Gets password
 PoolCfg getPoolCfg()
          Gets PoolCfg
 java.util.Map getProperties()
          Gets provider properties
 java.lang.String getURL()
          Gets connection url
 boolean isEncrypted()
          Checks if password encrypted or not
 java.lang.String toString()
           
 org.w3c.dom.Element toXMLElement(org.w3c.dom.Document doc, org.w3c.dom.Element parent)
          To XML Element

 

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, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, values

 

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

 

Constructor Detail

ConnectionCfg

public ConnectionCfg()
Default constructor

ConnectionCfg

public ConnectionCfg(java.util.Properties props)
Constructor
Parameters:
props - a default properties

ConnectionCfg

public ConnectionCfg(org.w3c.dom.Element element)
Constructor
Parameters:
element - a Element

ConnectionCfg

public ConnectionCfg(java.lang.String url,
                     java.lang.String bindDN,
                     java.lang.String password,
                     boolean encrypted,
                     java.util.Properties props)
Constructor
Parameters:
url - a connectoin url. It's String representation of url for connection
bindDN - an user DN
password - a string
encrypted - a boolean flag, true if password encripted, else false
props - a default properties

Method Detail

getURL

public java.lang.String getURL()
Gets connection url
Returns:
connection url

getBindDN

public java.lang.String getBindDN()
Gets BindDN
Returns:
binddn

getPassword

public java.lang.String getPassword()
Gets password
Returns:
password

isEncrypted

public boolean isEncrypted()
Checks if password encrypted or not
Returns:
true, if password encrypted

getPoolCfg

public PoolCfg getPoolCfg()
Gets PoolCfg
Returns:
PoolCfg or null

getProperties

public java.util.Map getProperties()
Gets provider properties
Returns:
provider properties

toXMLElement

public org.w3c.dom.Element toXMLElement(org.w3c.dom.Document doc,
                                        org.w3c.dom.Element parent)
To XML Element
Parameters:
doc - XML Document
parent - a parent Element

toString

public java.lang.String toString()
Overrides:
toString in class ConfigurationProperties

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


Copyright © 2005, Oracle. All rights reserved.