com.partnersoft.system
Class ReflectionLib

java.lang.Object
  extended by com.partnersoft.system.ReflectionLib
All Implemented Interfaces:
Lib

public class ReflectionLib
extends java.lang.Object
implements Lib

Handy methods to simplify use of Java's reflection facility.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Field Summary
static Log log
           
 
Method Summary
static java.lang.Object callInstanceMethod(java.lang.Object instance, java.lang.String methodName)
          Runs the named no-argument method on the named object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final Log log
Method Detail

callInstanceMethod

public static java.lang.Object callInstanceMethod(java.lang.Object instance,
                                                  java.lang.String methodName)
Runs the named no-argument method on the named object. Throws IllegalArgumentException if that won't work.