how to set a name for a TriggerListener?

Posted by Gilbert on Stack Overflow See other posts from Stack Overflow or by Gilbert
Published on 2011-06-21T14:07:21Z Indexed on 2011/06/21 16:22 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

i cant find the method that sets the triggerListener name, i added to the quartz properties file the following:

org.quartz.triggerListener.NAME.class=wavemark.interfaceserver.interfaceengine.action.EngineListener
org.quartz.triggerListener.NAME.propName=myListener
org.quartz.triggerListener.NAME.prop2Name=myListener2

but i still get the Exception:

org.quartz.SchedulerException: TriggerListener 'wavemark.interfaceserver.interfaceengine.action.EngineListener' 
    props could not be configured. 
    [See nested exception: java.lang.NoSuchMethodException:
          wavemark.interfaceserver.interfaceengine.action.EngineListener.setName(java.lang.String)]

please help!!

© Stack Overflow or respective owner

Related posts about java

Related posts about jboss5.x