I want to write a custom Trigger (base on CronTrigger) for scheduling my tasks.

In Spring's reference, it only contains the use of "task" namespace for XML-based configuration. However, task namespace does not provide any way for me to use my custom trigger.

How can I do such kind of configuration through XML? It is fine for not using task namespace.

Thanks