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 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(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(java.util.Properties props)
Constructor
Parameters:
props - Default properties for this connection

ConnectionCfg

public ConnectionCfg(org.w3c.dom.Element element)
Constructor
Parameters:
element - An XML Element that represents this Connection. It has to adhere to the schema definition of the configuration service.

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. This is the String representation of url for connection.
bindDN - an user DN. The DN to be used to bind to the repository.
password - a string. The password to be used for the connection.
encrypted - a boolean flag, true if password encrypted, else false
props - a default set of 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. The element will be contained in this Document. Cannot be null.
parent - a parent Element. The returned element will be the child of this element. Cannot be null.
Returns:
An XML representation of the Connection Object.

toString

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

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.