Reputation: 7
Need a method to be called, available in my plugin's module. The method should be called automatically as soon as the application is ready (as soon as JVM finishes loading all the classes).
I can understand, this is not possible using static block as well as we cannot introduce custom class loader (as the plugin is intended to be used consumer's application).
Any help would be appreciated. If possible, code snippet would be much appreciated.
Upvotes: -1
Views: 98