0 Replies Latest reply on Apr 30, 2008 2:25 PM by Mike K

    Factory problem - migration of spring applicationContext.xml to components.xml

    Mike K Newbie

      Hi I try to migrate a spring project to seam and have to remove all spring dependencies. I'm currently facing a problem changing this part of the spring configuration:

      <bean id="configurationFactory"
                factory-method="getInstance" />
      <bean id="configurationService" factory-bean="configurationFactory"
                factory-method="createConfigurationAdminBCI" />

      How can this be changed into a seam components.xml definition?
      I tried using component and a factory but this does not work, as the configurationFactory constructor is private.

      Please advise!

      Thanks in advance,