[Design of JBoss jBPM] - jBPM 4 BusinessCalendar
by bixby
I have a requirement to use a custom BusinessCalendar so that the holidays can be maintained by an end user rather than in the configuration. That in itself is not a problem but it would be nice to be able to implement an interface rather than extend the existing BusinessCalendar and override all the methods, most of which are not used by my implementation.
Currently I have to extend the BusinessCalendar class, remove the existing BusinessCalendar definition from the jbpm.cfg.xml and insert my own definition (I do this with an object tag).
>From what I can see in the source, the only method that gets used by the PVM is the add(Date, Duration) method.
This would just be a small tidy-up but allow for a cleaner replacement of BusinessCalendar implementations.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237504#4237504
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237504
15 years, 5 months