Configuring Quartz Plug-Ins

The process of configuring Quartz plug-ins is very similar to that of configuring listeners, as described earlier. When you have a class that implements the SchedulerPlugin interface, you configure the plug-in by adding a line similar to this:

org.quartz.plugin.NAME.class = com.foo.MyPluginClass

Here, NAME is a name that you assign to the plug-in. You can pass parameters to a plug-in instance by providing configuration lines like these:

org.quartz.plugin.NAME.propName = propValue org.quartz.plugin.NAME.prop2Name = prop2Value

The NAME for the parameters must match the NAME assigned to the plug-in. For more information on Quartz plug-ins, see Chapter 8, "Using Quartz Plug-Ins."

Configuring Quartz RMI Settings

Категории