Table of Contents

Class Relation

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

Constructors

Relation()

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

[Obsolete("Relation class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Relation()

Relation(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

[Obsolete("Relation class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Relation(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

RetrieveAllRoles()

public RoleList RetrieveAllRoles()

Returns

RoleList

RoleList

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