[jboss-jira] [JBoss JIRA] Created: (JBAS-5842) Fix the injection of mainDeployer, profileService in ProfileServiceBootstrap

Scott M Stark (JIRA) jira-events at lists.jboss.org
Fri Aug 8 05:26:50 EDT 2008


Fix the injection of mainDeployer, profileService in ProfileServiceBootstrap
----------------------------------------------------------------------------

                 Key: JBAS-5842
                 URL: https://jira.jboss.org/jira/browse/JBAS-5842
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: Other
    Affects Versions: JBossAS-5.0.0.CR1
            Reporter: Scott M Stark
            Assignee: Scott M Stark
             Fix For: JBossAS-5.0.0.CR2


The ProfileServiceBootstrap is still looking up the mainDeployer and profileService beans rather than using injection:

   public void start(Server server) throws Exception
   {
      shutdown.set(false);
      
      KernelController controller = kernel.getController();
      
      // Get the beans TODO injection!
      profileService = getBean(controller, "ProfileService", ProfileService.class);
      log.debug("Using ProfileService: " + profileService);
      mainDeployer = getBean(controller, "MainDeployer", MainDeployer.class);
      log.debug("Using MainDeployer: " + mainDeployer);


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list