Description
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.