org.apache.felix.webconsole.internal.compendium
Class AjaxConfigManagerAction
java.lang.Object
org.apache.felix.webconsole.internal.BaseManagementPlugin
org.apache.felix.webconsole.internal.compendium.AjaxConfigManagerAction
- All Implemented Interfaces:
- Action
public class AjaxConfigManagerAction
- extends BaseManagementPlugin
- implements Action
The AjaxConfigManagerAction
TODO
Field Summary |
static java.lang.String |
NAME
|
Method Summary |
void |
destroy()
|
protected java.util.Map |
getAttributeDefinitionMap(org.osgi.service.cm.Configuration config,
java.lang.String locale)
|
protected org.osgi.framework.Bundle |
getBundle(java.lang.String bundleLocation)
|
protected org.osgi.service.cm.ConfigurationAdmin |
getConfigurationAdmin()
|
java.lang.String |
getLabel()
|
protected java.util.Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
|
protected java.util.Map |
getMetadataPids()
|
protected org.osgi.service.metatype.MetaTypeService |
getMetaTypeService()
|
java.lang.String |
getName()
|
protected org.osgi.service.metatype.ObjectClassDefinition |
getObjectClassDefinition(org.osgi.framework.Bundle bundle,
java.lang.String pid,
java.lang.String locale)
|
protected org.osgi.service.metatype.ObjectClassDefinition |
getObjectClassDefinition(org.osgi.service.cm.Configuration config,
java.lang.String locale)
|
protected org.osgi.service.metatype.ObjectClassDefinition |
getObjectClassDefinition(java.lang.String pid,
java.lang.String locale)
|
boolean |
performAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs the action the request data optionally sending a response to
the HTTP Servlet Response. |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
AjaxConfigManagerAction
public AjaxConfigManagerAction()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Action
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface Action
performAction
public boolean performAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Description copied from interface:
Action
- Performs the action the request data optionally sending a response to
the HTTP Servlet Response.
- Specified by:
performAction
in interface Action
- Returns:
true
the client should be redirected after the
action has been taken. false
if this method also
provided response to the client and nore more processing is
required.
- Throws:
java.io.IOException
- May be thrown if an I/O error occurrs
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
- Overrides:
setBundleContext
in class BaseManagementPlugin
destroy
public void destroy()
getConfigurationAdmin
protected org.osgi.service.cm.ConfigurationAdmin getConfigurationAdmin()
getMetaTypeService
protected org.osgi.service.metatype.MetaTypeService getMetaTypeService()
getMetadataPids
protected java.util.Map getMetadataPids()
getObjectClassDefinition
protected org.osgi.service.metatype.ObjectClassDefinition getObjectClassDefinition(org.osgi.service.cm.Configuration config,
java.lang.String locale)
getObjectClassDefinition
protected org.osgi.service.metatype.ObjectClassDefinition getObjectClassDefinition(org.osgi.framework.Bundle bundle,
java.lang.String pid,
java.lang.String locale)
getObjectClassDefinition
protected org.osgi.service.metatype.ObjectClassDefinition getObjectClassDefinition(java.lang.String pid,
java.lang.String locale)
getAttributeDefinitionMap
protected java.util.Map getAttributeDefinitionMap(org.osgi.service.cm.Configuration config,
java.lang.String locale)
getBundle
protected org.osgi.framework.Bundle getBundle(java.lang.String bundleLocation)
getLocale
protected java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)