org.openmuc.sunnywebtool.internal
Class SunnyWebToolPlugin

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

public class SunnyWebToolPlugin
extends java.lang.Object
implements WebInterfacePlugin


Field Summary
 
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
 
Constructor Summary
SunnyWebToolPlugin(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

SunnyWebToolPlugin

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

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

getCategory

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

getContentView

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

getResources

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

getMimeType

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

getResource

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

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