Class RelationServiceMBean
- Namespace
- Javax.Management.Relation
- Assembly
- MASES.JNet.dll
public class RelationServiceMBean : JVMBridgeBase<RelationServiceMBean>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IRelationServiceMBean
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<RelationServiceMBean>RelationServiceMBean
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<RelationServiceMBean>.SExecute<TNewClass, TReturn>(IJavaType, string, params object[])JVMBridgeBase<RelationServiceMBean>.IsAssignableFrom(IJavaType)JVMBridgeBase<RelationServiceMBean>.IsAssignableFrom<T>()JVMBridgeBase<RelationServiceMBean>.Execute<T>(params T[])JVMBridgeBase<RelationServiceMBean>.DynBridgeClazzJVMBridgeBase<RelationServiceMBean>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
RelationServiceMBean()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("RelationServiceMBean 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 RelationServiceMBean()
RelationServiceMBean(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("RelationServiceMBean 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 RelationServiceMBean(params object[] args)
Parameters
args
object[]
Properties
AllRelationIds
public List<String> AllRelationIds { get; }
Property Value
AllRelationTypeNames
public List<String> AllRelationTypeNames { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
PurgeFlag
https://docs.oracle.com/en/java/javase/11/docs/api/java.management/javax/management/relation/RelationServiceMBean.html#getPurgeFlag() https://docs.oracle.com/en/java/javase/11/docs/api/java.management/javax/management/relation/RelationServiceMBean.html#setPurgeFlag(boolean)
public bool PurgeFlag { get; set; }
Property Value
Methods
AddRelation(ObjectName)
public void AddRelation(ObjectName arg0)
Parameters
arg0
ObjectName
Exceptions
- IllegalArgumentException
- RelationServiceNotRegisteredException
- NoSuchMethodException
- InvalidRelationIdException
- InstanceNotFoundException
- InvalidRelationServiceException
- RelationTypeNotFoundException
- RoleNotFoundException
- InvalidRoleValueException
AddRelationType(RelationType)
public void AddRelationType(RelationType arg0)
Parameters
arg0
RelationType
Exceptions
CheckRoleReading(String, String)
public Integer CheckRoleReading(String arg0, String arg1)
Parameters
Returns
Exceptions
CheckRoleWriting(Role, String, Boolean)
public Integer CheckRoleWriting(Role arg0, String arg1, Boolean arg2)
Parameters
Returns
Exceptions
CreateRelation(String, String, RoleList)
public void CreateRelation(String arg0, String arg1, RoleList arg2)
Parameters
Exceptions
- RelationServiceNotRegisteredException
- IllegalArgumentException
- RoleNotFoundException
- InvalidRelationIdException
- RelationTypeNotFoundException
- InvalidRoleValueException
CreateRelationType(String, RoleInfo[])
public void CreateRelationType(String arg0, RoleInfo[] arg1)
Parameters
Exceptions
FindAssociatedMBeans(ObjectName, String, String)
public Map<ObjectName, List<String>> FindAssociatedMBeans(ObjectName arg0, String arg1, String arg2)
Parameters
arg0
ObjectNamearg1
Stringarg2
String
Returns
- Map<ObjectName, List<String>>
Exceptions
FindReferencingRelations(ObjectName, String, String)
public Map<String, List<String>> FindReferencingRelations(ObjectName arg0, String arg1, String arg2)
Parameters
arg0
ObjectNamearg1
Stringarg2
String
Returns
Exceptions
FindRelationsOfType(String)
public List<String> FindRelationsOfType(String arg0)
Parameters
Returns
Exceptions
GetAllRoles(String)
public RoleResult GetAllRoles(String arg0)
Parameters
Returns
Exceptions
GetReferencedMBeans(String)
public Map<ObjectName, List<String>> GetReferencedMBeans(String arg0)
Parameters
Returns
- Map<ObjectName, List<String>>
Exceptions
GetRelationTypeName(String)
public String GetRelationTypeName(String arg0)
Parameters
Returns
Exceptions
GetRole(String, String)
public List<ObjectName> GetRole(String arg0, String arg1)
Parameters
Returns
Exceptions
- RelationServiceNotRegisteredException
- IllegalArgumentException
- RelationNotFoundException
- RoleNotFoundException
GetRoleCardinality(String, String)
public Integer GetRoleCardinality(String arg0, String arg1)
Parameters
Returns
Exceptions
GetRoleInfo(String, String)
public RoleInfo GetRoleInfo(String arg0, String arg1)
Parameters
Returns
Exceptions
GetRoleInfos(String)
public List<RoleInfo> GetRoleInfos(String arg0)
Parameters
Returns
Exceptions
GetRoles(String, String[])
public RoleResult GetRoles(String arg0, String[] arg1)
Parameters
Returns
Exceptions
HasRelation(String)
public Boolean HasRelation(String arg0)
Parameters
Returns
Exceptions
IsActive()
public void IsActive()
Exceptions
IsRelation(ObjectName)
public String IsRelation(ObjectName arg0)
Parameters
arg0
ObjectName
Returns
Exceptions
IsRelationMBean(String)
public ObjectName IsRelationMBean(String arg0)
Parameters
Returns
Exceptions
PurgeRelations()
public void PurgeRelations()
Exceptions
RemoveRelation(String)
public void RemoveRelation(String arg0)
Parameters
Exceptions
RemoveRelationType(String)
public void RemoveRelationType(String arg0)
Parameters
Exceptions
SendRelationCreationNotification(String)
public void SendRelationCreationNotification(String arg0)
Parameters
Exceptions
SendRelationRemovalNotification(String, List<ObjectName>)
public void SendRelationRemovalNotification(String arg0, List<ObjectName> arg1)
Parameters
arg0
Stringarg1
List<ObjectName>
Exceptions
SendRoleUpdateNotification(String, Role, List<ObjectName>)
public void SendRoleUpdateNotification(String arg0, Role arg1, List<ObjectName> arg2)
Parameters
Exceptions
SetRole(String, Role)
public void SetRole(String arg0, Role arg1)
Parameters
Exceptions
- RelationServiceNotRegisteredException
- IllegalArgumentException
- RelationNotFoundException
- RoleNotFoundException
- InvalidRoleValueException
- RelationTypeNotFoundException
SetRoles(String, RoleList)
public RoleResult SetRoles(String arg0, RoleList arg1)
Parameters
Returns
Exceptions
UpdateRoleMap(String, Role, List<ObjectName>)
public void UpdateRoleMap(String arg0, Role arg1, List<ObjectName> arg2)