net.vidageek.mirror.invoke.dsl
Interface MethodHandler

All Known Implementing Classes:
MethodHandlerByMethod, MethodHandlerByName

public interface MethodHandler

Interface for classes responsible for invoking methods.

Author:
jonasabreu

Method Summary
 Object withArgs(Object... args)
          Invoke a method using arguments args.
 Object withoutArgs()
          Invoke a method without arguments.
 

Method Detail

withoutArgs

Object withoutArgs()
Invoke a method without arguments.

Returns:
The value returned by the method or null if the method was void.

withArgs

Object withArgs(Object... args)
Invoke a method using arguments args.

Parameters:
args - arguments to be used to invoke method.
Returns:
The value returned by the method or null if the method was void.


Copyright © 2011 VidaGeek.net. All Rights Reserved.