cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4435) CounterRepository bean not registering to the bus in blueprint configuration
Date Thu, 19 Jul 2012 14:24:34 GMT
Aki Yoshida created CXF-4435:
--------------------------------

             Summary: 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


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

        

Mime
View raw message