Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


oracle.stellent.ridc.convenience.adf.mbeans
Class IdcConnection

java.lang.Object
  extended by oracle.stellent.ridc.convenience.adf.mbeans.IdcConnection

All Implemented Interfaces:
Referenceable

public class IdcConnection
extends Object
implements Referenceable

IdcConnection is a place holder for all Content Server Connection properties. WARNING: This class is for use by SSXA and SSXA applications only, for RIDC applications use

See Also:
instead

Field Summary
static String DESIGNTIME_URL_KEY
           
static String IDC_CONNECTION_KEY_PREFIX
           
static String RUNTIME_URL_KEY
           

 

Constructor Summary
IdcConnection()
          Default Constructor.
IdcConnection(Reference ref)
          Constructor that takes in a jndi reference.
IdcConnection(String connectionName, Reference reference)
           

 

Method Summary
static IdcConnection create(Reference ref, Name name, Context nameCtx, Hashtable<?,?> environment)
          Create an an IdcConnection from the given reference using the given name, context and environment properties.
 boolean equals(Object o)
           
 Map<String,String> getConfigProperties()
          Get the configuration properties of the IDC Connection.
 String getConnectionName()
           
 String getConnectionUrl()
           
 String getProperty(String name)
          Retrieve a property value by name
 Reference getReference()
          
 int getSocketTimeout()
           
 int hashCode()
           
 boolean isNewConnection()
          Is this a new connection or an already existing one?
 void setConfigParameters(Map<String,String> configParams)
          Set the configuration parameters of the IDC Connection.
 void setConnectionName(String connectionName)
           
 void setConnectionUrl(String connectionUrl)
           
 void setProperty(String name, String value)
          Set a property name and value
 void setSocketTimeout(int timeout)
           
 String toString()
          

 

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

 

Field Detail

IDC_CONNECTION_KEY_PREFIX

public static final String IDC_CONNECTION_KEY_PREFIX
See Also:
Constant Field Values

RUNTIME_URL_KEY

public static final String RUNTIME_URL_KEY
See Also:
Constant Field Values

DESIGNTIME_URL_KEY

public static final String DESIGNTIME_URL_KEY
See Also:
Constant Field Values

Constructor Detail

IdcConnection

public IdcConnection()
Default Constructor.

IdcConnection

public IdcConnection(String connectionName,
                     Reference reference)

IdcConnection

public IdcConnection(Reference ref)
Constructor that takes in a jndi reference. The reference us used to initialize this object's properties.
Parameters:
ref - jndi reference the IdcConnection object will be created from.

Method Detail

create

public static IdcConnection create(Reference ref,
                                   Name name,
                                   Context nameCtx,
                                   Hashtable<?,?> environment)
Create an an IdcConnection from the given reference using the given name, context and environment properties.
Parameters:
ref - a jndi reference object.
name - jndi name.
nameCtx - jndi name context.
environment - environment property hashtable.
Returns:
an IdcConnection representation of the parameters.

getReference

public Reference getReference()
                       throws NamingException
Specified by:
getReference in interface Referenceable
Returns:
Throws:
NamingException

getConnectionName

public String getConnectionName()

setConnectionName

public void setConnectionName(String connectionName)

isNewConnection

public boolean isNewConnection()
Is this a new connection or an already existing one?
Returns:
true if the connection already exists, false otherwise.

setConfigParameters

public void setConfigParameters(Map<String,String> configParams)
Set the configuration parameters of the IDC Connection.
Parameters:
configParams - a map containing configuration properties.

getConfigProperties

public Map<String,String> getConfigProperties()
Get the configuration properties of the IDC Connection.
Returns:
a map containing configuration properties as name value pair.

getProperty

public String getProperty(String name)
Retrieve a property value by name
Parameters:
name - the property name
Returns:
the value

setProperty

public void setProperty(String name,
                        String value)
Set a property name and value
Parameters:
name - the property name
value - the property value

getConnectionUrl

public String getConnectionUrl()

setConnectionUrl

public void setConnectionUrl(String connectionUrl)

getSocketTimeout

public int getSocketTimeout()

setSocketTimeout

public void setSocketTimeout(int timeout)

toString

public String toString()
Overrides:
toString in class Object
Returns:

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.