org.openmuc.webmeasurement.internal
Class MeasureToolPlugin

java.lang.Object
  extended by org.openmuc.webmeasurement.internal.MeasureToolPlugin
All Implemented Interfaces:
WebInterfacePlugin, org.osgi.service.http.HttpContext

public class MeasureToolPlugin
extends java.lang.Object
implements WebInterfacePlugin


Field Summary
 
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
 
Constructor Summary
MeasureToolPlugin(org.osgi.framework.BundleContext context, ConfigurationService configService)
           
 
Method Summary
 java.lang.String getApplicationAlias()
           
 java.lang.String getApplicationDescription()
           
 java.lang.String getApplicationName()
           
 PluginCategory getCategory()
           
 View getContentView(javax.servlet.http.HttpServletRequest request, PluginContext context)
           
 java.lang.String getMimeType(java.lang.String name)
           
 java.net.URL getResource(java.lang.String name)
           
 java.util.Hashtable<java.lang.String,java.lang.String> getResources()
           
 boolean handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasureToolPlugin

public MeasureToolPlugin(org.osgi.framework.BundleContext context,
                         ConfigurationService configService)
Method Detail

getResources

public java.util.Hashtable<java.lang.String,java.lang.String> getResources()
Specified by:
getResources in interface WebInterfacePlugin

getApplicationAlias

public java.lang.String getApplicationAlias()
Specified by:
getApplicationAlias in interface WebInterfacePlugin

getApplicationName

public java.lang.String getApplicationName()
Specified by:
getApplicationName in interface WebInterfacePlugin

getApplicationDescription

public java.lang.String getApplicationDescription()
Specified by:
getApplicationDescription in interface WebInterfacePlugin

getContentView

public View getContentView(javax.servlet.http.HttpServletRequest request,
                           PluginContext context)
Specified by:
getContentView in interface WebInterfacePlugin

handleSecurity

public boolean handleSecurity(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
                       throws java.io.IOException
Specified by:
handleSecurity in interface org.osgi.service.http.HttpContext
Throws:
java.io.IOException

getResource

public java.net.URL getResource(java.lang.String name)
Specified by:
getResource in interface org.osgi.service.http.HttpContext

getMimeType

public java.lang.String getMimeType(java.lang.String name)
Specified by:
getMimeType in interface org.osgi.service.http.HttpContext

getCategory

public PluginCategory getCategory()
Specified by:
getCategory in interface WebInterfacePlugin