[
https://issues.apache.org/jira/browse/CXF-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aki Yoshida resolved CXF-4435.
------------------------------
Resolution: Fixed
Fix Version/s: 2.7.0
2.6.2
2.5.5
2.4.9
> CounterRepository bean not registering to the bus in blueprint configuration
> ----------------------------------------------------------------------------
>
> Key: CXF-4435
> URL: https://issues.apache.org/jira/browse/CXF-4435
> Project: CXF
> Issue Type: Bug
> Components: Management
> Affects Versions: 2.5.4
> Reporter: Aki Yoshida
> Assignee: Aki Yoshida
> Fix For: 2.4.9, 2.5.5, 2.6.2, 2.7.0
>
>
> CounterRepository does not register to the bus when it is configured in
> blueprint in the same way it is configured in spring, as
> <bean id="cr" class="org.apache.cxf.management.counters.CounterRepository">
> <property name="bus" ref="mybus" />
> </bean>
> The cause of this issue is that spring invokes CounterRepository's PostConst
> non-public method registerToBus, whereas blueprint can't.
> To make both work without any change to the configuration, we should remove
> the annotation and simply call this register method from the setBus method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira