@Documented @Target(value=METHOD) @Retention(value=RUNTIME) public @interface OnClassLoad
OnClassLoad will be called when class was loaded by
script.
static {
...
}
block.ScriptContext.getClassListener() returns instance
of OnClassLoadUnloadListener
subclass.Copyright © 2014–2015. All rights reserved.