|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.convenience.adf.mbeans.IdcConnection
public class IdcConnection
IdcConnection is a place holder for all Content Server Connection properties.
Field Summary | |
---|---|
static java.lang.String |
IDC_CONNECTION_KEY_PREFIX |
Constructor Summary | |
---|---|
IdcConnection() Default Constructor. |
|
IdcConnection(javax.naming.Reference ref) Constructor that takes in a jndi reference. |
Method Summary | |
---|---|
static IdcConnection |
create(javax.naming.Reference ref, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment) Create an an IdcConnection from the given reference using the given name, context and environment properties. |
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.String> |
getConfigProperties() Get the configuration properties of the IDC Connection. |
java.lang.String |
getConnectionName() |
java.lang.String |
getConnectionUrl() |
java.lang.String |
getProperty(java.lang.String name) Retrieve a property value by name |
javax.naming.Reference |
getReference() |
int |
getSocketTimeout() |
int |
hashCode() |
boolean |
isNewConnection() Is this a new connection or an already existing one? |
void |
setConfigParameters(java.util.Map<java.lang.String,java.lang.String> configParams) Set the configuration parameters of the IDC Connection. |
void |
setConnectionName(java.lang.String connectionName) |
void |
setConnectionUrl(java.lang.String connectionUrl) |
void |
setProperty(java.lang.String name, java.lang.String value) Set a property name and value |
void |
setSocketTimeout(int timeout) |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IDC_CONNECTION_KEY_PREFIX
Constructor Detail |
---|
public IdcConnection()
public IdcConnection(javax.naming.Reference ref)
ref
- jndi reference the IdcConnection object will be created from.Method Detail |
---|
public java.lang.String getConnectionName()
public void setConnectionName(java.lang.String connectionName)
public static IdcConnection create(javax.naming.Reference ref, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment)
ref
- a jndi reference object.name
- jndi name.nameCtx
- jndi name context.environment
- environment property hashtable.public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
public boolean isNewConnection()
public void setConfigParameters(java.util.Map<java.lang.String,java.lang.String> configParams)
configParams
- a map containing configuration properties.public java.util.Map<java.lang.String,java.lang.String> getConfigProperties()
public java.lang.String getProperty(java.lang.String name)
name
- the property namepublic void setProperty(java.lang.String name, java.lang.String value)
name
- the property namevalue
- the property valuepublic java.lang.String getConnectionUrl()
public void setConnectionUrl(java.lang.String connectionUrl)
public int getSocketTimeout()
public void setSocketTimeout(int timeout)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |