|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Plugin
Represents a JavaRebel plugin that can be used by a third-party
to configure or integrate with JavaRebel. Will be called before the
first class is loaded in the host classloader.
There are two ways to register a JavaRebel plugin. One is by creating
a JAR file with a custom manifest entry MANIFEST_ATTRIBUTE_PLUGIN
and putting it in the classpath. The other is by setting a system property
SYSPROP_PLUGIN to the plugin class.
Integration,
Configuration,
Reloader,
Logger| Field Summary | |
|---|---|
static java.lang.String |
MANIFEST_ATTRIBUTE_PLUGIN
This JAR MANIFEST.MF attribute should point to a class name that implements this interface. |
static java.lang.String |
SYSPROP_PLUGIN
This system property should point to a class name that implements this interface. |
| Method Summary | |
|---|---|
void |
preinit()
Called before the first class in the host classloader is loaded. |
| Field Detail |
|---|
static final java.lang.String SYSPROP_PLUGIN
-Drebel.plugin=com.mycompany.mypackage.MyJavaRebelPlugin.
static final java.lang.String MANIFEST_ATTRIBUTE_PLUGIN
| Method Detail |
|---|
void preinit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||