Table of Contents

Interface IMBeanServerConnection

Namespace
Javax.Management
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IMBeanServerConnection

Properties

DefaultDomain

String DefaultDomain { get; }

Property Value

String

Domains

String[] Domains { get; }

Property Value

String[]

MBeanCount

Integer MBeanCount { get; }

Property Value

Integer

Methods

AddNotificationListener(ObjectName, NotificationListener, NotificationFilter, object)

void AddNotificationListener(ObjectName arg0, NotificationListener arg1, NotificationFilter arg2, object arg3)

Parameters

arg0 ObjectName

ObjectName

arg1 NotificationListener

NotificationListener

arg2 NotificationFilter

NotificationFilter

arg3 object

object

Exceptions

InstanceNotFoundException
IOException

AddNotificationListener(ObjectName, ObjectName, NotificationFilter, object)

void AddNotificationListener(ObjectName arg0, ObjectName arg1, NotificationFilter arg2, object arg3)

Parameters

arg0 ObjectName

ObjectName

arg1 ObjectName

ObjectName

arg2 NotificationFilter

NotificationFilter

arg3 object

object

Exceptions

InstanceNotFoundException
IOException

CreateMBean(String, ObjectName)

ObjectInstance CreateMBean(String arg0, ObjectName arg1)

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

Returns

ObjectInstance

ObjectInstance

Exceptions

ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
IOException

CreateMBean(String, ObjectName, ObjectName)

ObjectInstance CreateMBean(String arg0, ObjectName arg1, ObjectName arg2)

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 ObjectName

ObjectName

Returns

ObjectInstance

ObjectInstance

Exceptions

ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
IOException

CreateMBean(String, ObjectName, ObjectName, object[], String[])

ObjectInstance CreateMBean(String arg0, ObjectName arg1, ObjectName arg2, object[] arg3, String[] arg4)

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 ObjectName

ObjectName

arg3 object[]

object

arg4 String[]

String

Returns

ObjectInstance

ObjectInstance

Exceptions

ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
IOException

CreateMBean(String, ObjectName, object[], String[])

ObjectInstance CreateMBean(String arg0, ObjectName arg1, object[] arg2, String[] arg3)

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 object[]

object

arg3 String[]

String

Returns

ObjectInstance

ObjectInstance

Exceptions

ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
IOException

GetAttribute(ObjectName, String)

object GetAttribute(ObjectName arg0, String arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

Returns

object

object

Exceptions

MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
IOException

GetAttributes(ObjectName, String[])

AttributeList GetAttributes(ObjectName arg0, String[] arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 String[]

String

Returns

AttributeList

AttributeList

Exceptions

InstanceNotFoundException
ReflectionException
IOException

GetMBeanInfo(ObjectName)

MBeanInfo GetMBeanInfo(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

MBeanInfo

MBeanInfo

Exceptions

InstanceNotFoundException
IntrospectionException
ReflectionException
IOException

GetObjectInstance(ObjectName)

ObjectInstance GetObjectInstance(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

ObjectInstance

ObjectInstance

Exceptions

InstanceNotFoundException
IOException

Invoke(ObjectName, String, object[], String[])

object Invoke(ObjectName arg0, String arg1, object[] arg2, String[] arg3)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

arg2 object[]

object

arg3 String[]

String

Returns

object

object

Exceptions

InstanceNotFoundException
MBeanException
ReflectionException
IOException

IsInstanceOf(ObjectName, String)

bool IsInstanceOf(ObjectName arg0, String arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

Returns

bool

bool

Exceptions

InstanceNotFoundException
IOException

IsRegistered(ObjectName)

bool IsRegistered(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

bool

bool

Exceptions

IOException

QueryMBeans(ObjectName, QueryExp)

Set<ObjectInstance> QueryMBeans(ObjectName arg0, QueryExp arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 QueryExp

QueryExp

Returns

Set<ObjectInstance>

Set

Exceptions

IOException

QueryNames(ObjectName, QueryExp)

Set<ObjectName> QueryNames(ObjectName arg0, QueryExp arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 QueryExp

QueryExp

Returns

Set<ObjectName>

Set

Exceptions

IOException

RemoveNotificationListener(ObjectName, NotificationListener)

void RemoveNotificationListener(ObjectName arg0, NotificationListener arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 NotificationListener

NotificationListener

Exceptions

InstanceNotFoundException
ListenerNotFoundException
IOException

RemoveNotificationListener(ObjectName, NotificationListener, NotificationFilter, object)

void RemoveNotificationListener(ObjectName arg0, NotificationListener arg1, NotificationFilter arg2, object arg3)

Parameters

arg0 ObjectName

ObjectName

arg1 NotificationListener

NotificationListener

arg2 NotificationFilter

NotificationFilter

arg3 object

object

Exceptions

InstanceNotFoundException
ListenerNotFoundException
IOException

RemoveNotificationListener(ObjectName, ObjectName)

void RemoveNotificationListener(ObjectName arg0, ObjectName arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 ObjectName

ObjectName

Exceptions

InstanceNotFoundException
ListenerNotFoundException
IOException

RemoveNotificationListener(ObjectName, ObjectName, NotificationFilter, object)

void RemoveNotificationListener(ObjectName arg0, ObjectName arg1, NotificationFilter arg2, object arg3)

Parameters

arg0 ObjectName

ObjectName

arg1 ObjectName

ObjectName

arg2 NotificationFilter

NotificationFilter

arg3 object

object

Exceptions

InstanceNotFoundException
ListenerNotFoundException
IOException

SetAttribute(ObjectName, Attribute)

void SetAttribute(ObjectName arg0, Attribute arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 Attribute

Attribute

Exceptions

InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
IOException

SetAttributes(ObjectName, AttributeList)

AttributeList SetAttributes(ObjectName arg0, AttributeList arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 AttributeList

AttributeList

Returns

AttributeList

AttributeList

Exceptions

InstanceNotFoundException
ReflectionException
IOException

UnregisterMBean(ObjectName)

void UnregisterMBean(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Exceptions

InstanceNotFoundException
MBeanRegistrationException
IOException