Hi,
Is it possible to have multiple interceptors in the coldbox.xml with
the same classname but different properties?
This is what i want to do:
<Interceptor
class="projectname.interceptors.ScheduledTaskCreationInterceptor">
<Property name="name">taskname1</Property>
<Property name="event">scheduledtask.somehandler.someaction</
<Property name="interval">100</Property>
<Property name="userEmail">fdgdd@dfgdf.com</Property>
<Property name="userPassword">dgdfgdf</Property>
</Interceptor>
<Interceptor
class="projectname.interceptors.ScheduledTaskCreationInterceptor">
<Property name="name">taskname2</Property>
<Property name="event">scheduledtask.somehandler.someaction</
<Property name="interval">100</Property>
<Property name="userEmail">dfgdl@dfgdf.com</Property>
<Property name="userPassword">fdgdfg</Property>
</Interceptor>
I want to add an interceptor for each scheduled task that i want to
create, the interceptor intercepts on afterAspectsLoad
greets,
klaas
This is possible only in 3.0. Each interceptor element has a new attribute called “name”, so you can create multiple instances of interceptors and just name them.
Cool huh!!
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
ah thats great, thnx
any idea when there is a stable/final version 3.0 out?
Stable is 3.0.0 M5, final release will be by August/July timeframe
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
What’s the downside of an M[number] = milestone? release ?
Im not switching over because i thought its not safe to use in production yet…
Milestones are production ready releases. However, they do not contain the entire 3.0.0 feature set as it is planned in the roadmap. Therefore, some things might still change from that milestone release to the final release.
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