Table of Contents

Interface IRMIConnection

Namespace
Javax.Management.Remote.Rmi
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IRMIConnection

Properties

ConnectionId

String ConnectionId { get; }

Property Value

String

Methods

AddNotificationListener(ObjectName, ObjectName, MarshalledObject, MarshalledObject, Subject)

void AddNotificationListener(ObjectName arg0, ObjectName arg1, MarshalledObject arg2, MarshalledObject arg3, Subject arg4)

Parameters

arg0 ObjectName

ObjectName

arg1 ObjectName

ObjectName

arg2 MarshalledObject

MarshalledObject

arg3 MarshalledObject

MarshalledObject

arg4 Subject

Subject

Exceptions

InstanceNotFoundException
IOException

AddNotificationListeners(ObjectName[], MarshalledObject[], Subject[])

Integer[] AddNotificationListeners(ObjectName[] arg0, MarshalledObject[] arg1, Subject[] arg2)

Parameters

arg0 ObjectName[]

ObjectName

arg1 MarshalledObject[]

MarshalledObject

arg2 Subject[]

Subject

Returns

Integer[]

Integer

Exceptions

InstanceNotFoundException
IOException

Close()

void Close()

Exceptions

IOException

CreateMBean(String, ObjectName, MarshalledObject, String[], Subject)

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

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 MarshalledObject

MarshalledObject

arg3 String[]

String

arg4 Subject

Subject

Returns

ObjectInstance

ObjectInstance

Exceptions

ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
IOException

CreateMBean(String, ObjectName, ObjectName, MarshalledObject, String[], Subject)

ObjectInstance CreateMBean(String arg0, ObjectName arg1, ObjectName arg2, MarshalledObject arg3, String[] arg4, Subject arg5)

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 ObjectName

ObjectName

arg3 MarshalledObject

MarshalledObject

arg4 String[]

String

arg5 Subject

Subject

Returns

ObjectInstance

ObjectInstance

Exceptions

ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
IOException

CreateMBean(String, ObjectName, ObjectName, Subject)

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

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 ObjectName

ObjectName

arg3 Subject

Subject

Returns

ObjectInstance

ObjectInstance

Exceptions

ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
IOException

CreateMBean(String, ObjectName, Subject)

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

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 Subject

Subject

Returns

ObjectInstance

ObjectInstance

Exceptions

ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
IOException

FetchNotifications(long, int, long)

NotificationResult FetchNotifications(long arg0, int arg1, long arg2)

Parameters

arg0 long

long

arg1 int

int

arg2 long

long

Returns

NotificationResult

NotificationResult

Exceptions

IOException

GetAttribute(ObjectName, String, Subject)

object GetAttribute(ObjectName arg0, String arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

arg2 Subject

Subject

Returns

object

object

Exceptions

MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
IOException

GetAttributes(ObjectName, String[], Subject)

AttributeList GetAttributes(ObjectName arg0, String[] arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 String[]

String

arg2 Subject

Subject

Returns

AttributeList

AttributeList

Exceptions

InstanceNotFoundException
ReflectionException
IOException

GetDefaultDomain(Subject)

String GetDefaultDomain(Subject arg0)

Parameters

arg0 Subject

Subject

Returns

String

String

Exceptions

IOException

GetDomains(Subject)

String[] GetDomains(Subject arg0)

Parameters

arg0 Subject

Subject

Returns

String[]

String

Exceptions

IOException

GetMBeanCount(Subject)

Integer GetMBeanCount(Subject arg0)

Parameters

arg0 Subject

Subject

Returns

Integer

Integer

Exceptions

IOException

GetMBeanInfo(ObjectName, Subject)

MBeanInfo GetMBeanInfo(ObjectName arg0, Subject arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 Subject

Subject

Returns

MBeanInfo

MBeanInfo

Exceptions

InstanceNotFoundException
IntrospectionException
ReflectionException
IOException

GetObjectInstance(ObjectName, Subject)

ObjectInstance GetObjectInstance(ObjectName arg0, Subject arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 Subject

Subject

Returns

ObjectInstance

ObjectInstance

Exceptions

InstanceNotFoundException
IOException

Invoke(ObjectName, String, MarshalledObject, String[], Subject)

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

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

arg2 MarshalledObject

MarshalledObject

arg3 String[]

String

arg4 Subject

Subject

Returns

object

object

Exceptions

InstanceNotFoundException
MBeanException
ReflectionException
IOException

IsInstanceOf(ObjectName, String, Subject)

bool IsInstanceOf(ObjectName arg0, String arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

arg2 Subject

Subject

Returns

bool

bool

Exceptions

InstanceNotFoundException
IOException

IsRegistered(ObjectName, Subject)

bool IsRegistered(ObjectName arg0, Subject arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 Subject

Subject

Returns

bool

bool

Exceptions

IOException

QueryMBeans(ObjectName, MarshalledObject, Subject)

Set<ObjectInstance> QueryMBeans(ObjectName arg0, MarshalledObject arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 MarshalledObject

MarshalledObject

arg2 Subject

Subject

Returns

Set<ObjectInstance>

Set

Exceptions

IOException

QueryNames(ObjectName, MarshalledObject, Subject)

Set<ObjectName> QueryNames(ObjectName arg0, MarshalledObject arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 MarshalledObject

MarshalledObject

arg2 Subject

Subject

Returns

Set<ObjectName>

Set

Exceptions

IOException

RemoveNotificationListener(ObjectName, ObjectName, MarshalledObject, MarshalledObject, Subject)

void RemoveNotificationListener(ObjectName arg0, ObjectName arg1, MarshalledObject arg2, MarshalledObject arg3, Subject arg4)

Parameters

arg0 ObjectName

ObjectName

arg1 ObjectName

ObjectName

arg2 MarshalledObject

MarshalledObject

arg3 MarshalledObject

MarshalledObject

arg4 Subject

Subject

Exceptions

InstanceNotFoundException
ListenerNotFoundException
IOException

RemoveNotificationListener(ObjectName, ObjectName, Subject)

void RemoveNotificationListener(ObjectName arg0, ObjectName arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 ObjectName

ObjectName

arg2 Subject

Subject

Exceptions

InstanceNotFoundException
ListenerNotFoundException
IOException

RemoveNotificationListeners(ObjectName, Integer[], Subject)

void RemoveNotificationListeners(ObjectName arg0, Integer[] arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 Integer[]

Integer

arg2 Subject

Subject

Exceptions

InstanceNotFoundException
ListenerNotFoundException
IOException

SetAttribute(ObjectName, MarshalledObject, Subject)

void SetAttribute(ObjectName arg0, MarshalledObject arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 MarshalledObject

MarshalledObject

arg2 Subject

Subject

Exceptions

InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
IOException

SetAttributes(ObjectName, MarshalledObject, Subject)

AttributeList SetAttributes(ObjectName arg0, MarshalledObject arg1, Subject arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 MarshalledObject

MarshalledObject

arg2 Subject

Subject

Returns

AttributeList

AttributeList

Exceptions

InstanceNotFoundException
ReflectionException
IOException

UnregisterMBean(ObjectName, Subject)

void UnregisterMBean(ObjectName arg0, Subject arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 Subject

Subject

Exceptions

InstanceNotFoundException
MBeanRegistrationException
IOException