org.sapia.regis.bean
Class BeanFactory
java.lang.Object
org.sapia.regis.bean.BeanFactory
public class BeanFactory
- extends Object
An instance of this class allows wrapping a Node in a dynamic proxy
that implements a given interface. The interface must have getter methods that correspond
to the name of the properties on the given node.
- Author:
- yduchesne
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanFactory
public BeanFactory()
newBeanInstanceFor
public static Object newBeanInstanceFor(Registry reg,
Node node,
Class interf)
- Parameters:
reg - the Registry from which the given node originates.node - a Node.interf - a user-defined interface.
- Returns:
Copyright © 2006 Sapia Open Community, Inc. All Rights Reserved.