com.tivoli.jmx.connector.rmi
Class MBeanServerConnectionImpl_Stub

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteStub
              |
              +--com.tivoli.jmx.connector.rmi.MBeanServerConnectionImpl_Stub

public final class MBeanServerConnectionImpl_Stub
extends java.rmi.server.RemoteStub
implements MBeanServerConnection, java.rmi.Remote

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
MBeanServerConnectionImpl_Stub(java.rmi.server.RemoteRef ref)
           
 
Method Summary
 javax.management.ObjectInstance createMBean(java.lang.String $param_String_1, javax.management.ObjectName $param_ObjectName_2)
          Instantiates and registers an MBean in the MBean server.
 java.lang.Object getAttribute(javax.management.ObjectName $param_ObjectName_1, java.lang.String $param_String_2)
          Gets the value of a specific attribute of a named MBean.
 javax.management.AttributeList getAttributes(javax.management.ObjectName $param_ObjectName_1, java.lang.String[] $param_arrayOf_String_2)
          Enables the values of several attributes of a named MBean.
 java.lang.String getDefaultDomain()
          Returns the default domain used for naming the MBean.
 java.lang.Integer getMBeanCount()
          Returns the number of MBeans registered in the MBean server.
 javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName $param_ObjectName_1)
          This method discovers the attributes and operations that an MBean exposes for management.
 javax.management.ObjectInstance getObjectInstance(javax.management.ObjectName $param_ObjectName_1)
          Gets the ObjectInstance for a given MBean registered with the MBean server.
 java.lang.Object invoke(javax.management.ObjectName $param_ObjectName_1, java.lang.String $param_String_2, java.lang.Object[] $param_arrayOf_Object_3, java.lang.String[] $param_arrayOf_String_4)
          Invokes an operation on an MBean.
 boolean isInstanceOf(javax.management.ObjectName $param_ObjectName_1, java.lang.String $param_String_2)
          Returns true if the MBean specified is an instance of the specified class, false otherwise.
 boolean isRegistered(javax.management.ObjectName $param_ObjectName_1)
          Checks whether an MBean, identified by its object name, is already registered with the MBean server.
 java.util.Set queryMBeans(javax.management.ObjectName $param_ObjectName_1, javax.management.QueryExp $param_QueryExp_2)
          Gets MBeans controlled by the MBean server.
 java.util.Set queryNames(javax.management.ObjectName $param_ObjectName_1, javax.management.QueryExp $param_QueryExp_2)
          Gets the names of MBeans controlled by the MBean server.
 void setAttribute(javax.management.ObjectName $param_ObjectName_1, javax.management.Attribute $param_Attribute_2)
          Sets the value of a specific attribute of a named MBean.
 javax.management.AttributeList setAttributes(javax.management.ObjectName $param_ObjectName_1, javax.management.AttributeList $param_AttributeList_2)
          Sets the values of several attributes of a named MBean.
 void unregisterMBean(javax.management.ObjectName $param_ObjectName_1)
          Links the connection to an MBeanServer instance.
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBeanServerConnectionImpl_Stub

public MBeanServerConnectionImpl_Stub(java.rmi.server.RemoteRef ref)
Method Detail

createMBean

public javax.management.ObjectInstance createMBean(java.lang.String $param_String_1,
                                                   javax.management.ObjectName $param_ObjectName_2)
                                            throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Instantiates and registers an MBean in the MBean server.
Specified by:
createMBean in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
className - java.lang.String
name - javax.management.ObjectName
Returns:
javax.management.ObjectInstance

getAttribute

public java.lang.Object getAttribute(javax.management.ObjectName $param_ObjectName_1,
                                     java.lang.String $param_String_2)
                              throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Gets the value of a specific attribute of a named MBean. The MBean is identified by its object name.
Specified by:
getAttribute in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
attribute - java.lang.String
Returns:
java.lang.Object

getAttributes

public javax.management.AttributeList getAttributes(javax.management.ObjectName $param_ObjectName_1,
                                                    java.lang.String[] $param_arrayOf_String_2)
                                             throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Enables the values of several attributes of a named MBean. The MBean is identified by its object name.
Specified by:
getAttributes in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
attributes - java.lang.String[]
Returns:
javax.management.AttributeList

getDefaultDomain

public java.lang.String getDefaultDomain()
                                  throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Returns the default domain used for naming the MBean. The default domain name is used as the domain part in the ObjectName of MBeans if no domain is specified by the user
Specified by:
getDefaultDomain in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Returns:
java.lang.String

getMBeanCount

public java.lang.Integer getMBeanCount()
                                throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Returns the number of MBeans registered in the MBean server.
Specified by:
getMBeanCount in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Returns:
java.lang.Integer

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName $param_ObjectName_1)
                                        throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
This method discovers the attributes and operations that an MBean exposes for management.
Specified by:
getMBeanInfo in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
Returns:
javax.management.MBeanInfo

getObjectInstance

public javax.management.ObjectInstance getObjectInstance(javax.management.ObjectName $param_ObjectName_1)
                                                  throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Gets the ObjectInstance for a given MBean registered with the MBean server.
Specified by:
getObjectInstance in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
Returns:
javax.management.ObjectInstance

invoke

public java.lang.Object invoke(javax.management.ObjectName $param_ObjectName_1,
                               java.lang.String $param_String_2,
                               java.lang.Object[] $param_arrayOf_Object_3,
                               java.lang.String[] $param_arrayOf_String_4)
                        throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Invokes an operation on an MBean.
Specified by:
invoke in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
operationName - java.lang.String
params - java.lang.Object[]
signature - java.lang.String[]
Returns:
java.lang.Object

isInstanceOf

public boolean isInstanceOf(javax.management.ObjectName $param_ObjectName_1,
                            java.lang.String $param_String_2)
                     throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Returns true if the MBean specified is an instance of the specified class, false otherwise.
Specified by:
isInstanceOf in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
className - java.lang.String
Returns:
boolean

isRegistered

public boolean isRegistered(javax.management.ObjectName $param_ObjectName_1)
                     throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Checks whether an MBean, identified by its object name, is already registered with the MBean server.
Specified by:
isRegistered in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
Returns:
boolean

queryMBeans

public java.util.Set queryMBeans(javax.management.ObjectName $param_ObjectName_1,
                                 javax.management.QueryExp $param_QueryExp_2)
                          throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Gets MBeans controlled by the MBean server. This method allows any of the following to be obtained: All MBeans, a set of MBeans specified by pattern matching on the ObjectName and/or a Query expression, a specific MBean. When the object name is null or no domain and key properties are specified, all objects are to be selected (and filtered if a query is specified). It returns the set of ObjectInstance objects (containing the ObjectName and the Java Class name) for the selected MBeans.
Specified by:
queryMBeans in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
query - javax.management.QueryExp
Returns:
java.util.Set

queryNames

public java.util.Set queryNames(javax.management.ObjectName $param_ObjectName_1,
                                javax.management.QueryExp $param_QueryExp_2)
                         throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Gets the names of MBeans controlled by the MBean server. This method enables any of the following to be obtained: The names of all MBeans, the names of a set of MBeans specified by pattern matching on the ObjectName and/or a Query expression, a specific MBean name (equivalent to testing whether an MBean is registered). When the object name is null or no domain and key properties are specified, all objects are selected (and filtered if a query is specified). It returns the set of ObjectNames for the MBeans selected.
Specified by:
queryNames in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
query - javax.management.QueryExp
Returns:
java.util.Set

setAttribute

public void setAttribute(javax.management.ObjectName $param_ObjectName_1,
                         javax.management.Attribute $param_Attribute_2)
                  throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Sets the value of a specific attribute of a named MBean. The MBean is identified by its object name.
Specified by:
setAttribute in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
attribute - javax.management.Attribute

setAttributes

public javax.management.AttributeList setAttributes(javax.management.ObjectName $param_ObjectName_1,
                                                    javax.management.AttributeList $param_AttributeList_2)
                                             throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Sets the values of several attributes of a named MBean. The MBean is identified by its object name
Specified by:
setAttributes in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName
attributes - javax.management.AttributeList
Returns:
javax.management.AttributeList

unregisterMBean

public void unregisterMBean(javax.management.ObjectName $param_ObjectName_1)
                     throws java.rmi.RemoteException
Description copied from interface: MBeanServerConnection
Links the connection to an MBeanServer instance.
Specified by:
unregisterMBean in interface MBeanServerConnection
Tags copied from interface: MBeanServerConnection
Parameters:
name - javax.management.ObjectName