public BeanDescriptor(Class<?> beanClass,Class<?> customizerClass){
  this.beanClassRef=getWeakReference(beanClass);
  this.customizerClassRef=getWeakReference(customizerClass);
  String name=beanClass.getName();
  while (name.indexOf('.') >= 0) {
    name=name.substring(name.indexOf('.') + 1);
  }
  setName(name);
}

public BeanDescriptor ( Class < ? > beanClass , Class < ? > customizerClass ) { this . beanClassRef = getWeakReference ( beanClass ) ; this . customizerClassRef = getWeakReference ( customizerClass ) ; String name = beanClass . getName ( ) ; while ( name . indexOf ( '.' ) >= 0 ) { name = name . substring ( name . indexOf ( '.' ) + 1 ) ; } setName ( name ) ; }
create a beandescriptor for a bean that has a customizer .
