FileDocCategorySizeDatePackage
BeanPropertyFactory.javaAPI DocJBoss 4.2.11745Fri Jul 13 20:53:46 BST 2007org.jboss.injection.lang.reflect

BeanPropertyFactory

public class BeanPropertyFactory extends Object
BeanProperty factory.
author
Carlo de Wolf
version
$Revision: $

Fields Summary
Constructors Summary
private BeanPropertyFactory()

      // do not instantiate
   
Methods Summary
public static BeanPropertycreate(java.lang.reflect.AccessibleObject ao)

      if(ao instanceof Field)
         return new FieldBeanProperty((Field) ao);
      if(ao instanceof Method)
         return new MethodBeanProperty((Method) ao);
      
      throw new IllegalArgumentException("can't handle " + ao.getClass().getName());