com.khubla.pragmatach.plugin.json.plugin
Class PluginImpl

java.lang.Object
  extended by com.khubla.pragmatach.plugin.json.plugin.PluginImpl
All Implemented Interfaces:
Plugin

public class PluginImpl
extends Object
implements Plugin

Author:
tome

Constructor Summary
PluginImpl()
           
 
Method Summary
 I8NProvider getI8NProvider()
          if this plugin exposes an I8NProvider, return it here, otherwise return null
 String getName()
          name of the plugin
 PluginContext getPluginContext()
           
 Map<String,Object> getTemplateVariables()
          get template variables
 void setPluginContext(PluginContext pluginContext)
          this sets the PluginContext, so that the plugin can access framework-provided services, such as the ResourceLoader
 void startup()
          startup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginImpl

public PluginImpl()
Method Detail

getI8NProvider

public I8NProvider getI8NProvider()
Description copied from interface: Plugin
if this plugin exposes an I8NProvider, return it here, otherwise return null

Specified by:
getI8NProvider in interface Plugin

getName

public String getName()
Description copied from interface: Plugin
name of the plugin

Specified by:
getName in interface Plugin

getPluginContext

public PluginContext getPluginContext()

getTemplateVariables

public Map<String,Object> getTemplateVariables()
Description copied from interface: Plugin
get template variables

Specified by:
getTemplateVariables in interface Plugin

setPluginContext

public void setPluginContext(PluginContext pluginContext)
Description copied from interface: Plugin
this sets the PluginContext, so that the plugin can access framework-provided services, such as the ResourceLoader

Specified by:
setPluginContext in interface Plugin

startup

public void startup()
             throws PragmatachException
Description copied from interface: Plugin
startup

Specified by:
startup in interface Plugin
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.