Class RMIConnection
- Namespace
- Javax.Management.Remote.Rmi
- Assembly
- MASES.JNet.dll
public class RMIConnection : JVMBridgeBase<RMIConnection>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IRMIConnection
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<RMIConnection>RMIConnection
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<RMIConnection>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<RMIConnection>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<RMIConnection>.IsAssignableFrom(IJavaType)JVMBridgeBase<RMIConnection>.IsAssignableFrom<T>()JVMBridgeBase<RMIConnection>.Execute<T>(params T[])JVMBridgeBase<RMIConnection>.DynBridgeClazzJVMBridgeBase<RMIConnection>.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
RMIConnection()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("RMIConnection 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 RMIConnection()
RMIConnection(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("RMIConnection 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 RMIConnection(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ConnectionId
public String ConnectionId { 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
Methods
AddNotificationListener(ObjectName, ObjectName, MarshalledObject, MarshalledObject, Subject)
public void AddNotificationListener(ObjectName arg0, ObjectName arg1, MarshalledObject arg2, MarshalledObject arg3, Subject arg4)
Parameters
arg0
ObjectNamearg1
ObjectNamearg2
MarshalledObjectarg3
MarshalledObjectarg4
Subject
Exceptions
AddNotificationListeners(ObjectName[], MarshalledObject[], Subject[])
public Integer[] AddNotificationListeners(ObjectName[] arg0, MarshalledObject[] arg1, Subject[] arg2)
Parameters
arg0
ObjectName[]arg1
MarshalledObject[]arg2
Subject[]
Returns
Exceptions
Close()
public void Close()
Exceptions
CreateMBean(String, ObjectName, MarshalledObject, String[], Subject)
public ObjectInstance CreateMBean(String arg0, ObjectName arg1, MarshalledObject arg2, String[] arg3, Subject arg4)
Parameters
arg0
Stringarg1
ObjectNamearg2
MarshalledObjectarg3
String[]arg4
Subject
Returns
Exceptions
- ReflectionException
- InstanceAlreadyExistsException
- MBeanRegistrationException
- MBeanException
- NotCompliantMBeanException
- IOException
CreateMBean(String, ObjectName, ObjectName, MarshalledObject, String[], Subject)
public ObjectInstance CreateMBean(String arg0, ObjectName arg1, ObjectName arg2, MarshalledObject arg3, String[] arg4, Subject arg5)
Parameters
arg0
Stringarg1
ObjectNamearg2
ObjectNamearg3
MarshalledObjectarg4
String[]arg5
Subject
Returns
Exceptions
- ReflectionException
- InstanceAlreadyExistsException
- MBeanRegistrationException
- MBeanException
- NotCompliantMBeanException
- InstanceNotFoundException
- IOException
CreateMBean(String, ObjectName, ObjectName, Subject)
public ObjectInstance CreateMBean(String arg0, ObjectName arg1, ObjectName arg2, Subject arg3)
Parameters
arg0
Stringarg1
ObjectNamearg2
ObjectNamearg3
Subject
Returns
Exceptions
- ReflectionException
- InstanceAlreadyExistsException
- MBeanRegistrationException
- MBeanException
- NotCompliantMBeanException
- InstanceNotFoundException
- IOException
CreateMBean(String, ObjectName, Subject)
public ObjectInstance CreateMBean(String arg0, ObjectName arg1, Subject arg2)
Parameters
arg0
Stringarg1
ObjectNamearg2
Subject
Returns
Exceptions
- ReflectionException
- InstanceAlreadyExistsException
- MBeanRegistrationException
- MBeanException
- NotCompliantMBeanException
- IOException
FetchNotifications(long, int, long)
public NotificationResult FetchNotifications(long arg0, int arg1, long arg2)
Parameters
Returns
Exceptions
GetAttribute(ObjectName, String, Subject)
public object GetAttribute(ObjectName arg0, String arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
Stringarg2
Subject
Returns
Exceptions
GetAttributes(ObjectName, String[], Subject)
public AttributeList GetAttributes(ObjectName arg0, String[] arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
String[]arg2
Subject
Returns
Exceptions
GetDefaultDomain(Subject)
public String GetDefaultDomain(Subject arg0)
Parameters
Returns
Exceptions
GetDomains(Subject)
public String[] GetDomains(Subject arg0)
Parameters
Returns
Exceptions
GetMBeanCount(Subject)
public Integer GetMBeanCount(Subject arg0)
Parameters
Returns
Exceptions
GetMBeanInfo(ObjectName, Subject)
public MBeanInfo GetMBeanInfo(ObjectName arg0, Subject arg1)
Parameters
arg0
ObjectNamearg1
Subject
Returns
Exceptions
GetObjectInstance(ObjectName, Subject)
public ObjectInstance GetObjectInstance(ObjectName arg0, Subject arg1)
Parameters
arg0
ObjectNamearg1
Subject
Returns
Exceptions
Invoke(ObjectName, String, MarshalledObject, String[], Subject)
public object Invoke(ObjectName arg0, String arg1, MarshalledObject arg2, String[] arg3, Subject arg4)
Parameters
arg0
ObjectNamearg1
Stringarg2
MarshalledObjectarg3
String[]arg4
Subject
Returns
Exceptions
IsInstanceOf(ObjectName, String, Subject)
public bool IsInstanceOf(ObjectName arg0, String arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
Stringarg2
Subject
Returns
Exceptions
IsRegistered(ObjectName, Subject)
public bool IsRegistered(ObjectName arg0, Subject arg1)
Parameters
arg0
ObjectNamearg1
Subject
Returns
Exceptions
QueryMBeans(ObjectName, MarshalledObject, Subject)
public Set<ObjectInstance> QueryMBeans(ObjectName arg0, MarshalledObject arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
MarshalledObjectarg2
Subject
Returns
Exceptions
QueryNames(ObjectName, MarshalledObject, Subject)
public Set<ObjectName> QueryNames(ObjectName arg0, MarshalledObject arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
MarshalledObjectarg2
Subject
Returns
Exceptions
RemoveNotificationListener(ObjectName, ObjectName, MarshalledObject, MarshalledObject, Subject)
public void RemoveNotificationListener(ObjectName arg0, ObjectName arg1, MarshalledObject arg2, MarshalledObject arg3, Subject arg4)
Parameters
arg0
ObjectNamearg1
ObjectNamearg2
MarshalledObjectarg3
MarshalledObjectarg4
Subject
Exceptions
RemoveNotificationListener(ObjectName, ObjectName, Subject)
public void RemoveNotificationListener(ObjectName arg0, ObjectName arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
ObjectNamearg2
Subject
Exceptions
RemoveNotificationListeners(ObjectName, Integer[], Subject)
public void RemoveNotificationListeners(ObjectName arg0, Integer[] arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
Integer[]arg2
Subject
Exceptions
SetAttribute(ObjectName, MarshalledObject, Subject)
public void SetAttribute(ObjectName arg0, MarshalledObject arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
MarshalledObjectarg2
Subject
Exceptions
- InstanceNotFoundException
- AttributeNotFoundException
- InvalidAttributeValueException
- MBeanException
- ReflectionException
- IOException
SetAttributes(ObjectName, MarshalledObject, Subject)
public AttributeList SetAttributes(ObjectName arg0, MarshalledObject arg1, Subject arg2)
Parameters
arg0
ObjectNamearg1
MarshalledObjectarg2
Subject
Returns
Exceptions
UnregisterMBean(ObjectName, Subject)
public void UnregisterMBean(ObjectName arg0, Subject arg1)
Parameters
arg0
ObjectNamearg1
Subject
Exceptions
Operators
implicit operator Closeable(RMIConnection)
Converter from RMIConnection to Closeable
public static implicit operator Closeable(RMIConnection t)
Parameters
Returns
implicit operator Remote(RMIConnection)
Converter from RMIConnection to Remote
public static implicit operator Remote(RMIConnection t)