[
https://jira.jboss.org/jira/browse/JBAS-5842?page=com.atlassian.jira.plug...
]
Scott M Stark resolved JBAS-5842.
---------------------------------
Resolution: Done
mainDeployer, profileService accessors have been added and the
profile.xml/profile-repository.xml updated:
<bean name="ProfileServiceBootstrap"
class="org.jboss.system.server.profileservice.ProfileServiceBootstrap">
<property name="kernel"><inject
bean="jboss.kernel:service=Kernel"/></property>
<property name="mainDeployer"><inject
bean="MainDeployer"/></property>
<property name="profileService"><inject
bean="ProfileService"/></property>
</bean>
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