org.openmuc.webconfigadmin.internal
Class WebConfiguratorPlugin

java.lang.Object
  extended by org.openmuc.webconfigadmin.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, MetaTypeServiceTracker metaTypeTracker, ConfigAdminTracker configAdminTracker)
           
 
Method Summary
 java.lang.String getApplicationAlias()
           
 java.lang.String getApplicationDescription()
           
 java.lang.String getApplicationName()
           
 PluginCategory getCategory()
           
 View getContentView(javax.servlet.http.HttpServletRequest request, PluginContext pluginContext)
           
 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

WebConfiguratorPlugin

public WebConfiguratorPlugin(org.osgi.framework.BundleContext context,
                             MetaTypeServiceTracker metaTypeTracker,
                             ConfigAdminTracker configAdminTracker)
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 pluginContext)
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