6.2.2
Dynamic Methods

Interfaces may change significantly in future releases.
Several methods are dynamically inserted onto each plugin. These methods do not need to be included in the plugin class, and will be overwritten if included. Additionally, a logger is inserted into each plugin as discussed in the next section.
The inserted methods are shown below (full definitions can be found in AbstractPlugin and AbstractPluginInfo):
- public void start() throws PluginStartException; (equivalent to the start method in 6.6.4 Plugin Control Service)
- public void stop() throws PluginStopException; (equivalent to the stop method in 6.6.4 Plugin Control Service)
- public Log getLog(); (see 6.2.3 Logging)
- public ConfigObject getAppConfig(); (see 6.2.5 Configuration)
- public String message(Map parameters); (see 6.2.4 i18n Messaging)
- public String getPluginType();
- public PluginState getState();
- public Integer getPollInterval();
- public Boolean getAutoStart();
- public Map<String, Object> getConfig(); (see 6.2.5 Configuration)
Many of these methods are provided for convenience and are discussed in the linked pages or the following sections.