hivemind-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Hügen (JIRA) <hivemind-...@jakarta.apache.org>
Subject [jira] Resolved: (HIVEMIND-171) JMX Support does not work if you use the class directly as the interface
Date Fri, 21 Apr 2006 21:47:06 GMT
     [ http://issues.apache.org/jira/browse/HIVEMIND-171?page=all ]
     
Achim Hügen resolved HIVEMIND-171:
----------------------------------

    Fix Version: 1.2
     Resolution: Fixed

> JMX Support does not work if you use the class directly as the interface
> ------------------------------------------------------------------------
>
>          Key: HIVEMIND-171
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-171
>      Project: HiveMind
>         Type: Bug

>   Components: jmx
>     Versions: 1.1
>  Environment: Java 5
>     Reporter: Ben Gidley
>      Fix For: 1.2

>
> If you construct a service directly using the class as the interface 
> e.g. 
>  <service-point id="DummyService" interface="org.apache.fulcrum.hivemind.DummyService">
>         <invoke-factory>
>             <construct class="org.apache.fulcrum.hivemind.DummyService"/>
>         </invoke-factory>
>     </service-point>
>     <contribution configuration-id="hivemind.management.MBeans" >
>         <mbean service-id="fulcrum.hivemind.test.DummyService" />
>     </contribution>
> The JMX service cannot initialse claiming the service does not implement the correct
interface. If however you create an interface .e.g.
>  <service-point id="DummyService" interface="org.apache.fulcrum.hivemind.IDummy">
>         <invoke-factory>
>             <construct class="org.apache.fulcrum.hivemind.DummyService"/>
>         </invoke-factory>
>     </service-point>
>     <contribution configuration-id="hivemind.management.MBeans" >
>         <mbean service-id="fulcrum.hivemind.test.DummyService" />
>     </contribution>
> Then it all works fine.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


Mime
View raw message