Class Relation
- Namespace
- Javax.Management.Relation
- Assembly
- MASES.JNet.dll
public class Relation : JVMBridgeBase<Relation>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IRelation
- Inheritance
-
Relation
- Implements
- Derived
- Extension Methods
Constructors
Relation(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Relation(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
AllRoles
public RoleResult AllRoles { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
ReferencedMBeans
public Map<ObjectName, List<String>> ReferencedMBeans { get; }
Property Value
- Map<ObjectName, List<String>>
RelationId
public String RelationId { get; }
Property Value
RelationServiceName
public ObjectName RelationServiceName { get; }
Property Value
RelationTypeName
public String RelationTypeName { get; }
Property Value
Methods
GetRole(String)
public List<ObjectName> GetRole(String arg0)
Parameters
Returns
Exceptions
GetRoleCardinality(String)
public Integer GetRoleCardinality(String arg0)
Parameters
Returns
Exceptions
GetRoles(String[])
public RoleResult GetRoles(String[] arg0)
Parameters
Returns
Exceptions
HandleMBeanUnregistration(ObjectName, String)
public void HandleMBeanUnregistration(ObjectName arg0, String arg1)
Parameters
arg0ObjectNamearg1String
Exceptions
- IllegalArgumentException
- RoleNotFoundException
- InvalidRoleValueException
- RelationServiceNotRegisteredException
- RelationTypeNotFoundException
- RelationNotFoundException
RetrieveAllRoles()
https://docs.oracle.com/javase/8/docs/api/javax/management/relation/Relation.html#retrieveAllRoles--
public RoleList RetrieveAllRoles()
Returns
SetRole(Role)
public void SetRole(Role arg0)
Parameters
Exceptions
- IllegalArgumentException
- RoleNotFoundException
- RelationTypeNotFoundException
- InvalidRoleValueException
- RelationServiceNotRegisteredException
- RelationNotFoundException
SetRoles(RoleList)
public RoleResult SetRoles(RoleList arg0)