Table of Contents

Interface IMBeanServer

Namespace
Javax.Management
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IMBeanServer : IMBeanServerConnection

Properties

ClassLoaderRepository

ClassLoaderRepository ClassLoaderRepository { get; }

Property Value

ClassLoaderRepository

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

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

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

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

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

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

GetAttribute(ObjectName, String)

object GetAttribute(ObjectName arg0, String arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

Returns

object

object

Exceptions

MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException

GetAttributes(ObjectName, String[])

AttributeList GetAttributes(ObjectName arg0, String[] arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 String[]

String

Returns

AttributeList

AttributeList

Exceptions

InstanceNotFoundException
ReflectionException

GetClassLoader(ObjectName)

ClassLoader GetClassLoader(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

ClassLoader

ClassLoader

Exceptions

InstanceNotFoundException

GetClassLoaderFor(ObjectName)

ClassLoader GetClassLoaderFor(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

ClassLoader

ClassLoader

Exceptions

InstanceNotFoundException

GetMBeanInfo(ObjectName)

MBeanInfo GetMBeanInfo(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

MBeanInfo

MBeanInfo

Exceptions

InstanceNotFoundException
IntrospectionException
ReflectionException

GetObjectInstance(ObjectName)

ObjectInstance GetObjectInstance(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

ObjectInstance

ObjectInstance

Exceptions

InstanceNotFoundException

Instantiate(String)

object Instantiate(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

ReflectionException
MBeanException

Instantiate(String, ObjectName)

object Instantiate(String arg0, ObjectName arg1)

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

Returns

object

object

Exceptions

ReflectionException
MBeanException
InstanceNotFoundException

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

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

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 object[]

object

arg3 String[]

String

Returns

object

object

Exceptions

ReflectionException
MBeanException
InstanceNotFoundException

Instantiate(String, object[], String[])

object Instantiate(String arg0, object[] arg1, String[] arg2)

Parameters

arg0 String

String

arg1 object[]

object

arg2 String[]

String

Returns

object

object

Exceptions

ReflectionException
MBeanException

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

IsInstanceOf(ObjectName, String)

bool IsInstanceOf(ObjectName arg0, String arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

Returns

bool

bool

Exceptions

InstanceNotFoundException

IsRegistered(ObjectName)

bool IsRegistered(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

bool

bool

QueryMBeans(ObjectName, QueryExp)

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

Parameters

arg0 ObjectName

ObjectName

arg1 QueryExp

QueryExp

Returns

Set<ObjectInstance>

Set

QueryNames(ObjectName, QueryExp)

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

Parameters

arg0 ObjectName

ObjectName

arg1 QueryExp

QueryExp

Returns

Set<ObjectName>

Set

RegisterMBean(object, ObjectName)

ObjectInstance RegisterMBean(object arg0, ObjectName arg1)

Parameters

arg0 object

object

arg1 ObjectName

ObjectName

Returns

ObjectInstance

ObjectInstance

Exceptions

InstanceAlreadyExistsException
MBeanRegistrationException
NotCompliantMBeanException

RemoveNotificationListener(ObjectName, NotificationListener)

void RemoveNotificationListener(ObjectName arg0, NotificationListener arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 NotificationListener

NotificationListener

Exceptions

InstanceNotFoundException
ListenerNotFoundException

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

RemoveNotificationListener(ObjectName, ObjectName)

void RemoveNotificationListener(ObjectName arg0, ObjectName arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 ObjectName

ObjectName

Exceptions

InstanceNotFoundException
ListenerNotFoundException

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

SetAttribute(ObjectName, Attribute)

void SetAttribute(ObjectName arg0, Attribute arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 Attribute

Attribute

Exceptions

InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

SetAttributes(ObjectName, AttributeList)

AttributeList SetAttributes(ObjectName arg0, AttributeList arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 AttributeList

AttributeList

Returns

AttributeList

AttributeList

Exceptions

InstanceNotFoundException
ReflectionException

UnregisterMBean(ObjectName)

void UnregisterMBean(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Exceptions

InstanceNotFoundException
MBeanRegistrationException