org.apache.struts2.osgi.admin.actions
Class BundlesAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.apache.struts2.osgi.admin.actions.BundlesAction
- All Implemented Interfaces:
- com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, java.io.Serializable, org.apache.struts2.util.ServletContextAware
public class BundlesAction
- extends com.opensymphony.xwork2.ActionSupport
- implements org.apache.struts2.util.ServletContextAware
- See Also:
- Serialized Form
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundlesAction
public BundlesAction()
index
public java.lang.String index()
view
public java.lang.String view()
start
public java.lang.String start()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
stop
public java.lang.String stop()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
update
public java.lang.String update()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
isStrutsEnabled
public boolean isStrutsEnabled(org.osgi.framework.Bundle bundle)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getBundle
public org.osgi.framework.Bundle getBundle()
getPackages
public java.util.List<com.opensymphony.xwork2.config.entities.PackageConfig> getPackages()
getHeaderKeys
public java.util.ArrayList<java.lang.String> getHeaderKeys()
getBundles
public java.util.Collection<org.osgi.framework.Bundle> getBundles()
displayProperty
public java.lang.String displayProperty(java.lang.Object obj)
getBundleState
public java.lang.String getBundleState(org.osgi.framework.Bundle bundle)
isAllowedAction
public boolean isAllowedAction(org.osgi.framework.Bundle bundle,
java.lang.String val)
setConfiguration
public void setConfiguration(com.opensymphony.xwork2.config.Configuration configuration)
setBundleAccessor
public void setBundleAccessor(org.apache.struts2.osgi.BundleAccessor bundleAccessor)
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext in interface org.apache.struts2.util.ServletContextAware
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.