This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.company.MyJobListener | |
beans = { | |
quartzPersistenceContextJobListener(MyJobListener) { | |
persistenceInterceptor = ref('persistenceInterceptor') | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company | |
import grails.plugin.quartz2.PersistenceContextJobListener | |
import org.apache.commons.logging.Log | |
import org.apache.commons.logging.LogFactory | |
import org.codehaus.groovy.grails.support.PersistenceContextInterceptor | |
import org.quartz.JobExecutionContext; | |
import org.quartz.JobExecutionException; | |
public class MyJobListener extends PersistenceContextJobListener { |