RE: [coldbox:16308] [coldbox-3.5.2] custom plugin manual init issue

Luis is right. The “init” param is lost in the “new” method of the PluginService and isn’t passed on to WireBox. We’ll either have to modify WireBox to allow for no-init() creation (would we not call onDIComplete either??) or modify getMyPlugin to allow init args to be passed int to hand off to Wirebox.getIntance().

In the mean time, the easiest thing for you to do might be to rewrite your plugin to accept those settings after creation via setter methods.



ColdBox Platform Evangelist
Ortus Solutions, Corp

ColdBox Platform:

thanks luis and brad for the quick reply.

will re-write plugin.

Hmm come to think of it wirebox does support the no init