Skip navigation links

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

E17274-03


oracle.stellent.ridc.convenience.adf.connection.mxbean
Class RidcConnectionMxBeanImpl

java.lang.Object
  extended by javax.management.StandardMBean
      extended by javax.management.StandardEmitterMBean
          extended by oracle.stellent.ridc.convenience.adf.connection.mxbean.RidcConnectionMxBeanImpl

All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, RidcConnectionMxBean

public class RidcConnectionMxBeanImpl
extends javax.management.StandardEmitterMBean
implements RidcConnectionMxBean

RidcConnectionMxBeanImpl is a JMX implementation of RidcConnectionMxBean interface. It utilizes the RidcConnection bean to facilitate changing of Content Server connection properties at runtime.


Field Summary
static java.lang.String NOTIFY_TYPE_UPDATED
          Notification types definitions.

 

Constructor Summary
RidcConnectionMxBeanImpl(java.lang.String connectionName, javax.naming.Reference reference)
          Create an IdcConnectionMXBean using the given connection name and JNDI reference object.

 

Method Summary
 RidcConnection getConnection()
          Get the IdcConnection.
 java.lang.String getConnectionName()
          Get the name of this IdcConnection.
 java.lang.String getConnectionType()
           
 java.lang.String getConnectionURL()
          Get the connection URL.
protected  java.lang.String getDescription(javax.management.MBeanInfo info)
          Get the description text for this MBean.
protected  java.lang.String getDescription(javax.management.MBeanOperationInfo info)
          Get the MBean operation descriptions.
protected  java.lang.String getDescription(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int sequence)
          Get the description text for the parameter variable names the MBean operations.
 javax.management.MBeanInfo getMBeanInfo()
           
 javax.management.MBeanNotificationInfo[] getNotificationInfo()
           
protected  java.lang.String getParameterName(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int sequence)
          Get the parameter variable names for the operations the MBean supports.
 java.lang.String getProperty(java.lang.String key)
          Get an arbitrary connection property.
 javax.naming.Reference getReference()
           
 int getTimeout()
          Get the connection timeout period.
 void setConnectionURL(java.lang.String connectionURL)
          Update the connection URL.
 void setProperty(java.lang.String key, java.lang.String value)
          Set an arbitrary connection property.
 void setTimeout(int timeoutValue)
          Set the connection timeout period.
 void updateConnectionURL(java.lang.String connectionURL)
          Update the connection URL.

 

Methods inherited from class javax.management.StandardEmitterMBean
addNotificationListener, removeNotificationListener, removeNotificationListener, sendNotification

 

Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation

 

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

 

Field Detail

NOTIFY_TYPE_UPDATED

public static final java.lang.String NOTIFY_TYPE_UPDATED
Notification types definitions. To use when creating JMX Notifications.
See Also:
Constant Field Values

Constructor Detail

RidcConnectionMxBeanImpl

public RidcConnectionMxBeanImpl(java.lang.String connectionName,
                                javax.naming.Reference reference)
                         throws javax.management.NotCompliantMBeanException
Create an IdcConnectionMXBean using the given connection name and JNDI reference object.
Parameters:
connectionName - connection name
reference - JNDI reference object that contains the connection information.
Throws:
javax.management.NotCompliantMBeanException

Method Detail

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface javax.management.DynamicMBean
Overrides:
getMBeanInfo in class javax.management.StandardMBean

getReference

public javax.naming.Reference getReference()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getTimeout

public int getTimeout()
Get the connection timeout period.
Specified by:
getTimeout in interface RidcConnectionMxBean
Returns:
connection timeout period as an integer.

setTimeout

public void setTimeout(int timeoutValue)
Set the connection timeout period.
Specified by:
setTimeout in interface RidcConnectionMxBean
Parameters:
timeoutValue - connection timeout period.

getConnectionURL

public java.lang.String getConnectionURL()
Get the connection URL.
Specified by:
getConnectionURL in interface RidcConnectionMxBean
Returns:
connection URL as a string.

setConnectionURL

public void setConnectionURL(java.lang.String connectionURL)
Update the connection URL.
Specified by:
setConnectionURL in interface RidcConnectionMxBean
Parameters:
connectionURL - the IDC connection URL

getConnectionType

public java.lang.String getConnectionType()

getConnectionName

public java.lang.String getConnectionName()
Get the name of this IdcConnection.
Specified by:
getConnectionName in interface RidcConnectionMxBean
Returns:
IDC Connection name.

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)
Set an arbitrary connection property.
Specified by:
setProperty in interface RidcConnectionMxBean
Parameters:
key - property key.
value - property value.

getProperty

public java.lang.String getProperty(java.lang.String key)
Get an arbitrary connection property.
Specified by:
getProperty in interface RidcConnectionMxBean
Parameters:
key - property key.
Returns:
property value

getConnection

public RidcConnection getConnection()
Get the IdcConnection.
Returns:
IDC Connection name.

updateConnectionURL

public void updateConnectionURL(java.lang.String connectionURL)
Update the connection URL.
Parameters:
connectionURL - the connection URL (i.e. "idc://csserver:4444").

getNotificationInfo

public javax.management.MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface javax.management.NotificationBroadcaster
Overrides:
getNotificationInfo in class javax.management.StandardEmitterMBean

getDescription

protected java.lang.String getDescription(javax.management.MBeanInfo info)
Get the description text for this MBean.
Overrides:
getDescription in class javax.management.StandardMBean
Returns:
MBean description text.

getParameterName

protected java.lang.String getParameterName(javax.management.MBeanOperationInfo op,
                                            javax.management.MBeanParameterInfo param,
                                            int sequence)
Get the parameter variable names for the operations the MBean supports.
Overrides:
getParameterName in class javax.management.StandardMBean
Returns:
parameter variable name.

getDescription

protected java.lang.String getDescription(javax.management.MBeanOperationInfo op,
                                          javax.management.MBeanParameterInfo param,
                                          int sequence)
Get the description text for the parameter variable names the MBean operations.
Overrides:
getDescription in class javax.management.StandardMBean
Returns:
operation parameter description.

getDescription

protected java.lang.String getDescription(javax.management.MBeanOperationInfo info)
Get the MBean operation descriptions.
Overrides:
getDescription in class javax.management.StandardMBean
Returns:
operation description text.

Skip navigation links

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

E17274-03


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