org.openmuc.webconfigurator.internal
Class WebconfiguratorPlugin

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

public class WebconfiguratorPlugin
extends java.lang.Object
implements WebInterfacePlugin


Field Summary
 
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
 
Constructor Summary
WebconfiguratorPlugin(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)
           
 java.lang.String storageType(int storageType)
           
 int storageType(java.lang.String storageType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebconfiguratorPlugin

public WebconfiguratorPlugin(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

storageType

public java.lang.String storageType(int storageType)

storageType

public int storageType(java.lang.String storageType)

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