4 Replies Latest reply on Nov 24, 2008 6:08 PM by Ales Justin

    No factoryClass does not use class attribute

    Ales Justin Master

      Afaik we used to support this:

       <bean name="GetInstance" class="org.jboss.test.kernel.deployment.support.GetInstanceBean">
       <constructor factoryMethod="getInstance"/>
      public class GetInstanceBean
       private static final GetInstanceBean instance = new GetInstanceBean("X");
       private GetInstanceBean(String x)
       public static GetInstanceBean getInstance()
       return instance;

      Meaning when there was no factoryClass,
      the bean's class attribute was used.

      I guess this got lost with transition to jbossxb?