org.openmuc.framework.webui.spi
Interface PluginContext


public interface PluginContext


Method Summary
 java.lang.String getApplicationAlias()
           
 java.lang.String getApplicationPath()
          Get the path of plugin application including the application alias.
 java.lang.String getLocalPath()
          Get the plugin applications local path.
 javax.servlet.http.HttpServletRequest getRequest()
           
 javax.servlet.http.HttpServletResponse getResponse()
           
 

Method Detail

getApplicationPath

java.lang.String getApplicationPath()
Get the path of plugin application including the application alias. The path is the path relative to the application containers root. This should be used for absolute links to local resources.

Returns:
the plugins applications base path

getLocalPath

java.lang.String getLocalPath()
Get the plugin applications local path. This is part of the servlets PathInfo without the servlet context, plugin category and application alias.

Returns:
the plug-ins local part of PathInfo

getApplicationAlias

java.lang.String getApplicationAlias()

getResponse

javax.servlet.http.HttpServletResponse getResponse()

getRequest

javax.servlet.http.HttpServletRequest getRequest()