autowire property

has the autowire={boolean} property been deprecated 3.0M5?

in one of my handlers, adding the following property and referencing
it one of my methods seems to work when the autowire property was
true, false and when left completely off Are all handlers simply
searched now for annotations and injected automatically?

<cfcomponent name=MyHandler" autowire="false" >

<cfproperty name="SessionStorage"
inject="coldbox:plugin:sessionstorage" scope="instance" />

I do believe the answer to your question is “yes”, handlers, plugins, and interceptors are autowired automatically IF you have enabled the autowire interceptor in your config.cfc. No need to specify “autowire=true/false”. Someone can correct me if I’m wrong on this.

Doug B

I do believe the answer to your question is “yes”, handlers, plugins, and interceptors are autowired automatically IF you have enabled the autowire interceptor in your config.cfc. No need to specify “autowire=true/false”. Someone can correct me if I’m wrong on this.

Do

You can enable the autowire annotation by giving the autowire intercepor the property annotationcheck = true.

Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com