Table of Contents

Class RelationServiceMBean

Namespace
Javax.Management.Relation
Assembly
MASES.JNet.dll
public class RelationServiceMBean : JVMBridgeBase<RelationServiceMBean>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IRelationServiceMBean
Inheritance
JVMBridgeBase
JVMBridgeBase<RelationServiceMBean>
RelationServiceMBean
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<RelationServiceMBean>.IsAssignableFrom(IJavaType)
JVMBridgeBase<RelationServiceMBean>.IsAssignableFrom<T>()
JVMBridgeBase<RelationServiceMBean>.Execute<T>(params T[])
JVMBridgeBase<RelationServiceMBean>.DynBridgeClazz
JVMBridgeBase<RelationServiceMBean>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

List<String>

AllRelationTypeNames

public List<String> AllRelationTypeNames { get; }

Property Value

List<String>

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

PurgeFlag

public bool PurgeFlag { get; set; }

Property Value

bool

Methods

AddRelation(ObjectName)

public void AddRelation(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Exceptions

IllegalArgumentException
RelationServiceNotRegisteredException
NoSuchMethodException
InvalidRelationIdException
InstanceNotFoundException
InvalidRelationServiceException
RelationTypeNotFoundException
RoleNotFoundException
InvalidRoleValueException

AddRelationType(RelationType)

public void AddRelationType(RelationType arg0)

Parameters

arg0 RelationType

RelationType

Exceptions

IllegalArgumentException
InvalidRelationTypeException

CheckRoleReading(String, String)

public Integer CheckRoleReading(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

Integer

Integer

Exceptions

IllegalArgumentException
RelationTypeNotFoundException

CheckRoleWriting(Role, String, Boolean)

public Integer CheckRoleWriting(Role arg0, String arg1, Boolean arg2)

Parameters

arg0 Role

Role

arg1 String

String

arg2 Boolean

Boolean

Returns

Integer

Integer

Exceptions

IllegalArgumentException
RelationTypeNotFoundException

CreateRelation(String, String, RoleList)

public void CreateRelation(String arg0, String arg1, RoleList arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 RoleList

RoleList

Exceptions

RelationServiceNotRegisteredException
IllegalArgumentException
RoleNotFoundException
InvalidRelationIdException
RelationTypeNotFoundException
InvalidRoleValueException

CreateRelationType(String, RoleInfo[])

public void CreateRelationType(String arg0, RoleInfo[] arg1)

Parameters

arg0 String

String

arg1 RoleInfo[]

RoleInfo

Exceptions

IllegalArgumentException
InvalidRelationTypeException

FindAssociatedMBeans(ObjectName, String, String)

public Map<ObjectName, List<String>> FindAssociatedMBeans(ObjectName arg0, String arg1, String arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

arg2 String

String

Returns

Map<ObjectName, List<String>>

Map

Exceptions

IllegalArgumentException

FindReferencingRelations(ObjectName, String, String)

public Map<String, List<String>> FindReferencingRelations(ObjectName arg0, String arg1, String arg2)

Parameters

arg0 ObjectName

ObjectName

arg1 String

String

arg2 String

String

Returns

Map<String, List<String>>

Map

Exceptions

IllegalArgumentException

FindRelationsOfType(String)

public List<String> FindRelationsOfType(String arg0)

Parameters

arg0 String

String

Returns

List<String>

List

Exceptions

IllegalArgumentException
RelationTypeNotFoundException

GetAllRoles(String)

public RoleResult GetAllRoles(String arg0)

Parameters

arg0 String

String

Returns

RoleResult

RoleResult

Exceptions

IllegalArgumentException
RelationNotFoundException
RelationServiceNotRegisteredException

GetReferencedMBeans(String)

public Map<ObjectName, List<String>> GetReferencedMBeans(String arg0)

Parameters

arg0 String

String

Returns

Map<ObjectName, List<String>>

Map

Exceptions

IllegalArgumentException
RelationNotFoundException

GetRelationTypeName(String)

public String GetRelationTypeName(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

IllegalArgumentException
RelationNotFoundException

GetRole(String, String)

public List<ObjectName> GetRole(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

List<ObjectName>

List

Exceptions

RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException
RoleNotFoundException

GetRoleCardinality(String, String)

public Integer GetRoleCardinality(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

Integer

Integer

Exceptions

IllegalArgumentException
RelationNotFoundException
RoleNotFoundException

GetRoleInfo(String, String)

public RoleInfo GetRoleInfo(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

RoleInfo

RoleInfo

Exceptions

IllegalArgumentException
RelationTypeNotFoundException
RoleInfoNotFoundException

GetRoleInfos(String)

public List<RoleInfo> GetRoleInfos(String arg0)

Parameters

arg0 String

String

Returns

List<RoleInfo>

List

Exceptions

IllegalArgumentException
RelationTypeNotFoundException

GetRoles(String, String[])

public RoleResult GetRoles(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

RoleResult

RoleResult

Exceptions

RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException

HasRelation(String)

public Boolean HasRelation(String arg0)

Parameters

arg0 String

String

Returns

Boolean

Boolean

Exceptions

IllegalArgumentException

IsActive()

public void IsActive()

Exceptions

RelationServiceNotRegisteredException

IsRelation(ObjectName)

public String IsRelation(ObjectName arg0)

Parameters

arg0 ObjectName

ObjectName

Returns

String

String

Exceptions

IllegalArgumentException

IsRelationMBean(String)

public ObjectName IsRelationMBean(String arg0)

Parameters

arg0 String

String

Returns

ObjectName

ObjectName

Exceptions

IllegalArgumentException
RelationNotFoundException

PurgeRelations()

public void PurgeRelations()

Exceptions

RelationServiceNotRegisteredException

RemoveRelation(String)

public void RemoveRelation(String arg0)

Parameters

arg0 String

String

Exceptions

RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException

RemoveRelationType(String)

public void RemoveRelationType(String arg0)

Parameters

arg0 String

String

Exceptions

RelationServiceNotRegisteredException
IllegalArgumentException
RelationTypeNotFoundException

SendRelationCreationNotification(String)

public void SendRelationCreationNotification(String arg0)

Parameters

arg0 String

String

Exceptions

IllegalArgumentException
RelationNotFoundException

SendRelationRemovalNotification(String, List<ObjectName>)

public void SendRelationRemovalNotification(String arg0, List<ObjectName> arg1)

Parameters

arg0 String

String

arg1 List<ObjectName>

List

Exceptions

IllegalArgumentException
RelationNotFoundException

SendRoleUpdateNotification(String, Role, List<ObjectName>)

public void SendRoleUpdateNotification(String arg0, Role arg1, List<ObjectName> arg2)

Parameters

arg0 String

String

arg1 Role

Role

arg2 List<ObjectName>

List

Exceptions

IllegalArgumentException
RelationNotFoundException

SetRole(String, Role)

public void SetRole(String arg0, Role arg1)

Parameters

arg0 String

String

arg1 Role

Role

Exceptions

RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException
RoleNotFoundException
InvalidRoleValueException
RelationTypeNotFoundException

SetRoles(String, RoleList)

public RoleResult SetRoles(String arg0, RoleList arg1)

Parameters

arg0 String

String

arg1 RoleList

RoleList

Returns

RoleResult

RoleResult

Exceptions

RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException

UpdateRoleMap(String, Role, List<ObjectName>)

public void UpdateRoleMap(String arg0, Role arg1, List<ObjectName> arg2)

Parameters

arg0 String

String

arg1 Role

Role

arg2 List<ObjectName>

List

Exceptions

IllegalArgumentException
RelationServiceNotRegisteredException
RelationNotFoundException