-
Sep 12th, 2011, 06:58 AM
#1
Where can I use @beforeJob annotation?
Hey guys,
I am trying to use the @beforeJob annotation.
I create a method in a simple class.
public void doBeforeJob(JobExecution jobExecution) {}
but the annotation seems not work.
Can I use that annotation in any class?
Do I just need to annotate the method ?
Or do I need to do something else to get that annotation working?
Last edited by rafaelweingartner; Sep 12th, 2011 at 08:21 AM.
-
Sep 12th, 2011, 01:01 PM
#2
-
Sep 12th, 2011, 02:10 PM
#3
No I did not...
So, I have add the class with that annotation in the job listeners list.
That was my doubt
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules