org.apache.felix.webconsole.internal.core
Class AjaxBundleDetailsAction

java.lang.Object
  extended by org.apache.felix.webconsole.internal.BaseManagementPlugin
      extended by org.apache.felix.webconsole.internal.core.AjaxBundleDetailsAction
All Implemented Interfaces:
Action

public class AjaxBundleDetailsAction
extends BaseManagementPlugin


Field Summary
static java.lang.String NAME
           
 
Fields inherited from interface org.apache.felix.webconsole.Action
ATTR_REDIRECT_PARAMETERS, SERVICE
 
Constructor Summary
AjaxBundleDetailsAction()
           
 
Method Summary
protected  long getBundleId(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 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 org.apache.felix.webconsole.internal.BaseManagementPlugin
getBundleContext, getLog, getPackageAdmin, getStartLevel, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

AjaxBundleDetailsAction

public AjaxBundleDetailsAction()
Method Detail

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Overrides:
setBundleContext in class BaseManagementPlugin

getName

public java.lang.String getName()

getLabel

public java.lang.String getLabel()

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.

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

getBundleId

protected long getBundleId(javax.servlet.http.HttpServletRequest request)