Craig; On 10/14/2017 02:48 PM, Craig Gallen (opennms) wrote: > Is there an easy way to do this. Am I missing a trick to access the > spring web context from within the Karaf OSGi container?
It doesn't look like any implementation for that interface is expose in the OSGi registry, so I would update the Spring context to expose it. Adding a statement like: <onmsgi:service interface="org.opennms.web.svclayer.api.RequisitionAccessService" ref="foreignSourceAndRequisitionAccessService" /> after the bean definition here: https://github.com/OpenNMS/opennms/blob/2a809c0b0fd318ebf242a1a9755a19b68f3713b2/opennms-webapp/src/main/resources/org/opennms/web/svclayer/applicationContext-svclayer.xml#L270 should do the trick provided that all of the associated packages are listed in custom.properties. -Jesse ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel