|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Plugin
The Plugin
interface represents the basic operations and features that must be implemented
for a class to be considered a plugin by the Application Runtime Expert. Any class that implements the
Plugin
interface can be automatically detected and instantiated by the Application Runtime Expert.
Any plugin can receive input arguments via the plugins.xml configuration file. This support is
built into the runtime and can be used without writing any additional code.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright for class bytecode |
Method Summary | |
---|---|
java.util.logging.Logger |
getLogger()
Retrieves the logger associated with the plugin |
PluginReporting |
getReporter()
Retrieves the reporter for the plugin |
java.io.PrintWriter |
getStandardOut()
Retrieves the standard output writer for the plugin. |
void |
init(java.util.List initArgs)
All plugin initialization is done in this method. |
ResultInfo |
result()
Retrieves the result of the plugin being run. |
void |
run()
Runs the plugin. |
Methods inherited from interface com.ibm.are.core.Element |
---|
getCommonName, getDescription, getElementData, getVersion, setElementData |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
void init(java.util.List initArgs)
initArgs
- Initialization arguments. Currently the runtime does not
pass any arguments upon initialization, so this list will
always be empty.void run()
ResultInfo result()
java.util.logging.Logger getLogger()
java.io.PrintWriter getStandardOut()
PluginReporting getReporter()
PluginReporting
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |