public class ScheduledTaskClassListener extends Object implements ClassListener
| Constructor and Description |
|---|
ScheduledTaskClassListener() |
| Modifier and Type | Method and Description |
|---|---|
protected CronService |
getCronService() |
boolean |
isValidClass(Class<?> clazz) |
void |
postLoad(Class<?>[] classes)
This method is invoked after classes were loaded.
|
void |
preUnload(Class<?>[] classes)
This method is invoked before class unloading.
|
protected void |
scheduleClass(Class<? extends Runnable> clazz) |
protected void |
unScheduleClass(Class<? extends Runnable> clazz) |
public void postLoad(Class<?>[] classes)
ClassListenerpostLoad in interface ClassListenerclasses - all loaded classes by script contextpublic void preUnload(Class<?>[] classes)
ClassListenerpreUnload in interface ClassListenerclasses - all loaded classes (they are going to be unloaded) by script
contextpublic boolean isValidClass(Class<?> clazz)
protected CronService getCronService()
Copyright © 2014–2015. All rights reserved.