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
-
JVMBridgeBase<Relation>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])
- 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
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 Closeable
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
arg0
ObjectNamearg1
String
Exceptions
- IllegalArgumentException
- RoleNotFoundException
- InvalidRoleValueException
- RelationServiceNotRegisteredException
- RelationTypeNotFoundException
- RelationNotFoundException
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)