|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.hqu.rendit.RenditServer
public class RenditServer
Field Summary | |
---|---|
static java.lang.String |
PROP_PLUGIN_APIMAJ
|
static java.lang.String |
PROP_PLUGIN_APIMIN
|
static java.lang.String |
PROP_PLUGIN_NAME
|
static java.lang.String |
PROP_PLUGIN_VER
|
Method Summary | |
---|---|
void |
addPluginDir(java.io.File path)
|
AttachmentDescriptor |
getAttachmentDescriptor(java.lang.String pluginName,
Attachment a,
Resource ent,
AuthzSubject u)
|
static RenditServer |
getInstance()
|
java.io.File |
getSysDir()
|
void |
handleRequest(java.lang.String pluginName,
RequestInvocationBindings b)
Handles regular web requests for a UI plugin. |
java.lang.Object |
invokeMethod(java.lang.String plugin,
InvokeMethodInvocationBindings b)
|
PluginWrapper |
loadPlugin(java.io.File path)
Loads a plugin into the rendit system, verifying the version numbers, etc. |
void |
removePluginDir(java.lang.String pluginName)
|
void |
renderTemplate(java.io.File template,
java.util.Map params,
java.io.Writer output)
Renders a template (.gsp file) to a Writer This facility relies on a plugin being registered under the name 'tmpl_render' which how to deal with a render invocation from the dispatcher. |
void |
setSysDir(java.io.File sysDir)
Set the system directory which contains groovy support classes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROP_PLUGIN_NAME
public static final java.lang.String PROP_PLUGIN_VER
public static final java.lang.String PROP_PLUGIN_APIMAJ
public static final java.lang.String PROP_PLUGIN_APIMIN
Method Detail |
---|
public java.io.File getSysDir()
public void setSysDir(java.io.File sysDir)
public void addPluginDir(java.io.File path) throws java.lang.Exception
java.lang.Exception
public void removePluginDir(java.lang.String pluginName)
public PluginWrapper loadPlugin(java.io.File path) throws PluginLoadException
path
- Path to the plugin
PluginLoadException
public void handleRequest(java.lang.String pluginName, RequestInvocationBindings b) throws java.lang.Exception
java.lang.Exception
public AttachmentDescriptor getAttachmentDescriptor(java.lang.String pluginName, Attachment a, Resource ent, AuthzSubject u)
public java.lang.Object invokeMethod(java.lang.String plugin, InvokeMethodInvocationBindings b) throws java.lang.Exception
java.lang.Exception
public void renderTemplate(java.io.File template, java.util.Map params, java.io.Writer output) throws java.lang.Exception
java.lang.Exception
public static final RenditServer getInstance()
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |