Silk DI 0.6


se.jbee.inject.bootstrap
Class Invoke

Object
  extended by se.jbee.inject.bootstrap.Invoke

public final class Invoke
extends Object

A util to invoke Constructors or Methods that converts checked Exceptions into RuntimeExceptions.

Author:
Jan Bernitt (jan@jbee.se)

Method Summary
static
<T> T
constructor(Constructor<T> constructor, Object... args)
           
static Object method(Method method, Object owner, Object... args)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

constructor

public static <T> T constructor(Constructor<T> constructor,
                                Object... args)

method

public static Object method(Method method,
                            Object owner,
                            Object... args)

Silk DI 0.6