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
-
JVMBridgeBase<RelationSupport>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])
- 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
Stringarg1
ObjectNamearg2
Stringarg3
RoleList
Exceptions
RelationSupport(String, ObjectName, MBeanServer, String, RoleList)
public RelationSupport(String arg0, ObjectName arg1, MBeanServer arg2, String arg3, RoleList arg4)
Parameters
arg0
Stringarg1
ObjectNamearg2
MBeanServerarg3
Stringarg4
RoleList
Exceptions
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
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
IsInRelationService()
public Boolean IsInRelationService()
Returns
PostDeregister()
public void PostDeregister()
PostRegister(Boolean)
public void PostRegister(Boolean arg0)
Parameters
PreDeregister()
public void PreDeregister()
Exceptions
PreRegister(MBeanServer, ObjectName)
public ObjectName PreRegister(MBeanServer arg0, ObjectName arg1)
Parameters
arg0
MBeanServerarg1
ObjectName
Returns
Exceptions
RetrieveAllRoles()
public RoleList RetrieveAllRoles()
Returns
SetRelationServiceManagementFlag(Boolean)
public void SetRelationServiceManagementFlag(Boolean arg0)
Parameters
Exceptions
SetRole(Role)
public void SetRole(Role arg0)
Parameters
Exceptions
- IllegalArgumentException
- RoleNotFoundException
- RelationTypeNotFoundException
- InvalidRoleValueException
- RelationServiceNotRegisteredException
- RelationNotFoundException
SetRoles(RoleList)
public RoleResult SetRoles(RoleList arg0)
Parameters
Returns
Exceptions
- IllegalArgumentException
- RelationServiceNotRegisteredException
- RelationTypeNotFoundException
- RelationNotFoundException
Operators
implicit operator MBeanRegistration(RelationSupport)
Converter from RelationSupport to MBeanRegistration
public static implicit operator MBeanRegistration(RelationSupport t)
Parameters
Returns
implicit operator RelationSupportMBean(RelationSupport)
Converter from RelationSupport to RelationSupportMBean
public static implicit operator RelationSupportMBean(RelationSupport t)