Table of Contents

Class RelationSupport

Namespace
Javax.Management.Relation
Assembly
MASES.JNet.dll
public class RelationSupport : JVMBridgeBase<RelationSupport>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
RelationSupport
Implements
Inherited Members
Extension Methods

Constructors

RelationSupport()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public RelationSupport()

RelationSupport(String, ObjectName, String, RoleList)

public RelationSupport(String arg0, ObjectName arg1, String arg2, RoleList arg3)

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 String

String

arg3 RoleList

RoleList

Exceptions

InvalidRoleValueException
IllegalArgumentException

RelationSupport(String, ObjectName, MBeanServer, String, RoleList)

public RelationSupport(String arg0, ObjectName arg1, MBeanServer arg2, String arg3, RoleList arg4)

Parameters

arg0 String

String

arg1 ObjectName

ObjectName

arg2 MBeanServer

MBeanServer

arg3 String

String

arg4 RoleList

RoleList

Exceptions

InvalidRoleValueException
IllegalArgumentException

RelationSupport(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public RelationSupport(params object[] args)

Parameters

args object[]

Properties

AllRoles

public RoleResult AllRoles { get; }

Property Value

RoleResult

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

ReferencedMBeans

public Map<ObjectName, List<String>> ReferencedMBeans { get; }

Property Value

Map<ObjectName, List<String>>

RelationId

public String RelationId { get; }

Property Value

String

RelationServiceName

public ObjectName RelationServiceName { get; }

Property Value

ObjectName

RelationTypeName

public String RelationTypeName { get; }

Property Value

String

Methods

GetRole(String)

public List<ObjectName> GetRole(String arg0)

Parameters

arg0 String

String

Returns

List<ObjectName>

List

Exceptions

IllegalArgumentException
RoleNotFoundException
RelationServiceNotRegisteredException

GetRoleCardinality(String)

public Integer GetRoleCardinality(String arg0)

Parameters

arg0 String

String

Returns

Integer

Integer

Exceptions

IllegalArgumentException
RoleNotFoundException

GetRoles(String[])

public RoleResult GetRoles(String[] arg0)

Parameters

arg0 String[]

String

Returns

RoleResult

RoleResult

Exceptions

IllegalArgumentException
RelationServiceNotRegisteredException

HandleMBeanUnregistration(ObjectName, String)

public void HandleMBeanUnregistration(ObjectName arg0, String arg1)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

Exceptions

IllegalArgumentException
RoleNotFoundException
InvalidRoleValueException
RelationServiceNotRegisteredException
RelationTypeNotFoundException
RelationNotFoundException

IsInRelationService()

public Boolean IsInRelationService()

Returns

Boolean

Boolean

PostDeregister()

public void PostDeregister()

PostRegister(Boolean)

public void PostRegister(Boolean arg0)

Parameters

arg0 Boolean

Boolean

PreDeregister()

public void PreDeregister()

Exceptions

Exception

PreRegister(MBeanServer, ObjectName)

public ObjectName PreRegister(MBeanServer arg0, ObjectName arg1)

Parameters

arg0 MBeanServer

MBeanServer

arg1 ObjectName

ObjectName

Returns

ObjectName

ObjectName

Exceptions

Exception

RetrieveAllRoles()

public RoleList RetrieveAllRoles()

Returns

RoleList

RoleList

SetRelationServiceManagementFlag(Boolean)

public void SetRelationServiceManagementFlag(Boolean arg0)

Parameters

arg0 Boolean

Boolean

Exceptions

IllegalArgumentException

SetRole(Role)

public void SetRole(Role arg0)

Parameters

arg0 Role

Role

Exceptions

IllegalArgumentException
RoleNotFoundException
RelationTypeNotFoundException
InvalidRoleValueException
RelationServiceNotRegisteredException
RelationNotFoundException

SetRoles(RoleList)

public RoleResult SetRoles(RoleList arg0)

Parameters

arg0 RoleList

RoleList

Returns

RoleResult

RoleResult

Exceptions

IllegalArgumentException
RelationServiceNotRegisteredException
RelationTypeNotFoundException
RelationNotFoundException

Operators

implicit operator MBeanRegistration(RelationSupport)

public static implicit operator MBeanRegistration(RelationSupport t)

Parameters

t RelationSupport

Returns

MBeanRegistration

implicit operator RelationSupportMBean(RelationSupport)

public static implicit operator RelationSupportMBean(RelationSupport t)

Parameters

t RelationSupport

Returns

RelationSupportMBean