Android Guides | Samples

Java.Lang.Reflect.Proxy Class

Proxy defines methods for creating dynamic proxy classes and instances.

See Also: Proxy

Syntax

[Android.Runtime.Register("java/lang/reflect/Proxy", DoNotGenerateAcw=true)]
public class Proxy : Object, ISerializable, IDisposable

Remarks

Proxy defines methods for creating dynamic proxy classes and instances. A proxy class implements a declared set of interfaces and delegates method invocations to an InvocationHandler.

See Also

[Android Documentation]

Requirements

Namespace: Java.Lang.Reflect
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.Reflect.Proxy are listed below.

See Also: Object

Protected Constructors

Constructs a new Proxy instance with the specified invocation handler.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

HIInvocationHandler. The invocation handler on which the method calls are dispatched.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
GetInvocationHandler(Object) : IInvocationHandler
Returns the invocation handler of the specified proxy instance.
static
GetProxyClass(ClassLoader, params Class[]) : Class
static
IsProxyClass(Class) : Boolean
static
NewProxyInstance(ClassLoader, Class[], IInvocationHandler) : Object