Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class classA{
- ...
- ...
- void function_to_be_scheduled(String param){
- ...
- ...
- }
- }
- <task:scheduled-tasks>
- <task:scheduled ref="beanA" method="function_to_be_scheduled" cron="${cron}"/>
- </task:scheduled-tasks>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement