Plugin development (extension)

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

Plugin development (extension)

Postby ruffp » Wed Apr 23, 2014 11:11 am

The provided extension are useful but still very simple.

Is there any possibility to use the spring framework inside a plugin?

I am wondering if it is possible to add new context.xml files and to make the wiring between beans, an example with a HelloWorld Service (injected into the actual helloworld sample) would be nice.

Thanks for your support
ruffp
 
Posts: 10
Joined: Wed Apr 09, 2014 8:45 am

Re: Plugin development (extension)

Postby mdoerschmidt » Fri Apr 25, 2014 7:15 am

Currently, plugins can only access Spring context of the core system (through arguments of EmmFeatureExtension.setup() and EmmFeatureExtension.invoke()). Plugins itself can not modify / extends the application context.
mdoerschmidt
 
Posts: 18
Joined: Fri Jan 04, 2013 8:55 am


Return to Development

Who is online

Users browsing this forum: No registered users and 3 guests

cron