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