/** * IBeanProxy is the interface for BeanProxy. * * @author Thornton Rose */ public interface IBeanProxy { /** * Get target bean. */ public Object getBean(); /** * Set target bean. */ public void setBean(Object newBean); /** * Get named property. */ public Object get(String name) throws Exception; /** * Set named property to value. */ public Object set(String name, Object value) throws Exception; /** * Invoke named method that accepts types, passing it parameters. */ public Object invoke(String name, Class[] types, Object[] parameters) throws Exception; }