Interface org.as2lib.env.reflect.InvocationHandler

org.as2lib.core.BasicInterface
   +--org.as2lib.env.reflect.InvocationHandler

Description

InvocationHandler handles method invocations that took place on dynamic proxies.

It is passed all the needed information to respond appropriately to the incovation.

Method Index

invoke()

Inherited from BasicInterface

toString()

Method Detail

invoke

public function invoke(proxy, method:String, args:Array)

Is invoked when a method invocation on a proxy took place and returns the result of the invocation.

Parameters

proxythe proxy the method was invoked on
methodthe method that was invoked
argsthe arguments that were passed to the method on invocation

Return

the result of the method invocation