com.quartzdesk.api.agent.scheduler.quartz.v2_2_x
Class StdSchedulerFactoryExtensions

java.lang.Object
  extended by com.quartzdesk.api.agent.scheduler.quartz.v2_2_x.StdSchedulerFactoryExtensions

public class StdSchedulerFactoryExtensions
extends Object

Class encapsulating the extended functionality added by the QuartzDesk JVM Agent to the instrumented StdSchedulerFactory class.

Version:
$Id:$
Author:
Jan Moravec

Constructor Summary
StdSchedulerFactoryExtensions(StdSchedulerFactory schedulerFactory)
          Creates a new instance wrapping the specified Quartz scheduler factory.
 
Method Summary
 Properties checkAndModifyConfigProperties(Properties props)
          Checks the specified Quartz config properties for known issues (such as org.quartz.scheduler.instanceId=AUTO and org.quartz.scheduler.instanceIdGenerator.class=SimpleInstanceIdGenerator or null).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdSchedulerFactoryExtensions

public StdSchedulerFactoryExtensions(StdSchedulerFactory schedulerFactory)
Creates a new instance wrapping the specified Quartz scheduler factory.

Parameters:
schedulerFactory - a non-initialized Quartz scheduler factory.
Method Detail

checkAndModifyConfigProperties

public Properties checkAndModifyConfigProperties(Properties props)
Checks the specified Quartz config properties for known issues (such as org.quartz.scheduler.instanceId=AUTO and org.quartz.scheduler.instanceIdGenerator.class=SimpleInstanceIdGenerator or null).

Parameters:
props - Quartz configuration properties.
Returns:
the modified Quartz configuration properties that will be used to initialize the Quartz scheduler factory.


Copyright © 2013–2017 QuartzDesk.com. All rights reserved.