wirebox configuration:
map(“UserServices”).to(“model.userService”).asSingleton()
plugin cfc defines:
property name=“userservice” inject=“id:UserServices”;
plugin function:
local.checkuser = userservice.getbycredientials(argumentCollection=arguments);
but the plugin function keeps bombing claiming “userservice” is not defined. If I use UserServices outside the plugin, say using a getInstance from wirebox in some handler code, it works just fine so I know it’s not the service code that’s causing the problem, so it seems it’s the plugin. What am I overlooking?
Mike