A B C D E F G I J L N O P R S T V

## A

addAutoStartBundles(Properties) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
addExportedPackages(Properties, Properties) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
  Find sub-packages of the packages defined in the property file and export them
addPackageFromBundle(Bundle, String) - Method in interface org.apache.struts2.osgi.BundleAccessor
addPackageFromBundle(Bundle, String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
  Add as Bundle -> Package mapping
addSpringOSGiSupport() - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
addSpringOSGiSupport() - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
addSpringOSGiSupport() - Method in class org.apache.struts2.osgi.host.GlassfishOSGiHost

## B

BaseOsgiHost - Class in org.apache.struts2.osgi.host
  A base OsgiHost implementation
  Servlet config params:
BaseOsgiHost() - Constructor for class org.apache.struts2.osgi.host.BaseOsgiHost
buildBean(Class, Map) - Method in class org.apache.struts2.osgi.DelegatingObjectFactory
buildBean(String, Map<String, Object>, boolean) - Method in class org.apache.struts2.osgi.DelegatingObjectFactory
buildBean(String, Map<String, Object>, boolean) - Method in class org.apache.struts2.osgi.SpringOsgiObjectFactory
buildBean(Class, Map<String, Object>) - Method in class org.apache.struts2.osgi.SpringOsgiObjectFactory
BundleAccessor - Interface in org.apache.struts2.osgi
bundleChanged(BundleEvent) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
  Listens to bundle event to load/unload config
BundleClassLoaderInterface - Class in org.apache.struts2.osgi
  ClassLoaderInterface instance that delegates to the singleton of DefaultBundleAccessor
BundleClassLoaderInterface() - Constructor for class org.apache.struts2.osgi.BundleClassLoaderInterface
BundleContextAware - Interface in org.apache.struts2.osgi.interceptor
  Actions implementing this interface will receive an instance of the BundleContext, the OsgiInterceptor must be applied to the action.
BundleFreemarkerManager - Class in org.apache.struts2.osgi
  This class extends FreemarkerManager in core to add a template loader (that finds resources inside bundles) to MultiTemplateLoader
BundleFreemarkerManager() - Constructor for class org.apache.struts2.osgi.BundleFreemarkerManager
BundlePackageLoader - Class in org.apache.struts2.osgi
  Package loader implementation that loads resources from a bundle
BundlePackageLoader() - Constructor for class org.apache.struts2.osgi.BundlePackageLoader

## C

containsBean(Object, String) - Static method in class org.apache.struts2.osgi.OsgiUtil
  Calls containsBean on the passed object using reflection.
containsBean(String) - Method in class org.apache.struts2.osgi.SpringOsgiObjectFactory
contextDestroyed(ServletContextEvent) - Method in class org.apache.struts2.osgi.StrutsOsgiListener
contextInitialized(ServletContextEvent) - Method in class org.apache.struts2.osgi.StrutsOsgiListener
createActionContext() - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
createOsgiHost(String) - Static method in class org.apache.struts2.osgi.OsgiHostFactory
createTemplateLoader(ServletContext, String) - Method in class org.apache.struts2.osgi.BundleFreemarkerManager
CURRENT_BUNDLE_NAME - Static variable in interface org.apache.struts2.osgi.BundleAccessor

## D

DefaultBundleAccessor - Class in org.apache.struts2.osgi
  Helper class that find resources and loads classes from the list of bundles
DefaultBundleAccessor() - Constructor for class org.apache.struts2.osgi.DefaultBundleAccessor
  This is a "defective" Singleton, possibly due to framework initialization requirements.
DelegatingObjectFactory - Class in org.apache.struts2.osgi
DelegatingObjectFactory() - Constructor for class org.apache.struts2.osgi.DelegatingObjectFactory
  Create a DelegatingObjectFactory instance for constructing objects needed by the OSGi plugin.
destroy() - Method in class org.apache.struts2.osgi.DelegatingObjectFactory
destroy() - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
destroy() - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
destroy() - Method in class org.apache.struts2.osgi.host.GlassfishOSGiHost
destroy() - Method in interface org.apache.struts2.osgi.host.OsgiHost
destroy() - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
DETECT_JAVA_VERSION - Static variable in class org.apache.struts2.osgi.host.BaseOsgiHost

## E

expandAllFelixJREBaseElements(String, Properties) - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
  Recursive method to expand all Felix JRE base elements from the configuration.
expandAllOsgiFrameworkExecutionEnvironments(String, Properties) - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
  Method to expand all OSGi framework execution environment elements from the configuration.
expandAllOsgiFrameworkSystemCapabilities(String, Properties) - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
  Method to expand all OSGi framework system capabilities elements from the configuration.

## F

felix - Variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_DETECT_JAVA_VERSION - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_EE_CAP_DETECT_JPMS - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_EE_CAP_JAVA_SPECIFICATION_VERSION - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_EE_FELIX_DETECT_JPMS - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_EE_JAVA_SPECIFICATION_VERSION - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_JRE_BASE_PREFIX - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_JRE_BASE_SUFFIX - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_JRE_DETECT_JAVA_SPECIFICATION_VERSION - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_JRE_DETECT_JPMS - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_SERVICE_CAPS - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FELIX_SERVICE_CAPS_KEY - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
FelixOsgiHost - Class in org.apache.struts2.osgi.host
  Apache felix implementation of an OsgiHost See http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html
  Servlet config params:
FelixOsgiHost() - Constructor for class org.apache.struts2.osgi.host.FelixOsgiHost
findPropertiesFileInRelativePath(String) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
  Attempt to read a properties file from the relative path of the current classloader.
findResource(String) - Method in class org.apache.struts2.osgi.loaders.StaticContentBundleResourceLoader
FreeMarkerBundleResourceLoader - Class in org.apache.struts2.osgi.loaders
  Finds FreeMarker templates in bundles
FreeMarkerBundleResourceLoader() - Constructor for class org.apache.struts2.osgi.loaders.FreeMarkerBundleResourceLoader

## G

generateJava_SE_SystemPackageVersionString(String) - Static method in class org.apache.struts2.osgi.OsgiUtil
  Attempt to generate an OSGi compatible Java SE system package version String from the System "java.version" property, with the form (where x or xx is the major version number): 0.0.0.JavaSE_001_00x for Java 8 and earlier (e.g.
generateJavaVersionForSystemPackages(String) - Static method in class org.apache.struts2.osgi.OsgiUtil
  Attempt to generate an OSGi compatible Java version String from the System "java.version" property, with the form (where x is the major version number): 1.x for Java 8 and earlier, x.y for Java 9+.
getActiveBundles() - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
getActiveBundles() - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
getActiveBundles() - Method in class org.apache.struts2.osgi.host.GlassfishOSGiHost
getActiveBundles() - Method in interface org.apache.struts2.osgi.host.OsgiHost
getAllServiceReferences(String) - Method in interface org.apache.struts2.osgi.BundleAccessor
getAllServiceReferences(String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
getBean(Object, String) - Static method in class org.apache.struts2.osgi.OsgiUtil
  Calls getBean() on the passed object using reflection.
getBean(String) - Method in class org.apache.struts2.osgi.SpringOsgiObjectFactory
getBundleContext() - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
getBundleContext() - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
getBundleContext() - Method in class org.apache.struts2.osgi.host.GlassfishOSGiHost
getBundleContext() - Method in interface org.apache.struts2.osgi.host.OsgiHost
getBundles() - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
  This bundle map will not change, but the status of the bundles can change over time.
getBundles() - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
getBundles() - Method in class org.apache.struts2.osgi.host.GlassfishOSGiHost
  This bundle map will not change, but the status of the bundles can change over time.
getBundles() - Method in interface org.apache.struts2.osgi.host.OsgiHost
getBundlesInDir(String) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
getClassInstance(String) - Method in class org.apache.struts2.osgi.DelegatingObjectFactory
getClassInstance(String) - Method in class org.apache.struts2.osgi.SpringOsgiObjectFactory
getContextContainer() - Method in class org.apache.struts2.osgi.BundlePackageLoader
  Method to get the ActionContext (or other) Container instance required for the FileManagerFactory to work.
getInstance() - Static method in class org.apache.struts2.osgi.DefaultBundleAccessor
getJarUrl(Class) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
getPackagesByBundle(Bundle) - Method in interface org.apache.struts2.osgi.BundleAccessor
getPackagesByBundle(Bundle) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
getParent() - Method in class org.apache.struts2.osgi.BundleClassLoaderInterface
getProperties(String) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
getResource(String) - Method in class org.apache.struts2.osgi.BundleClassLoaderInterface
getResourceAsStream(String) - Method in class org.apache.struts2.osgi.BundleClassLoaderInterface
getResources(String) - Method in class org.apache.struts2.osgi.BundleClassLoaderInterface
getResourceStream(String) - Method in class org.apache.struts2.osgi.loaders.VelocityBundleResourceLoader
getRunLevelDirs(String) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
getService(ServiceReference) - Method in interface org.apache.struts2.osgi.BundleAccessor
getService(ServiceReference) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
getServiceReference(String) - Method in interface org.apache.struts2.osgi.BundleAccessor
getServiceReference(String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
getServiceReferences(String, String) - Method in interface org.apache.struts2.osgi.BundleAccessor
getServiceReferences(String, String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
getServletContextParam(String, String) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
  Gets a param from the ServletContext, returning the default value if the param is not set
getURL(String) - Method in class org.apache.struts2.osgi.loaders.FreeMarkerBundleResourceLoader
getVersion(URL) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
getVersionFromString(String) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
GLASSFISH - Static variable in class org.apache.struts2.osgi.OsgiHostFactory
GlassfishOSGiHost - Class in org.apache.struts2.osgi.host
  A glassfish implementation of an OsgiHost
GlassfishOSGiHost() - Constructor for class org.apache.struts2.osgi.host.GlassfishOSGiHost

## I

init(ServletContext) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
init(ServletContext) - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
init(ServletContext) - Method in class org.apache.struts2.osgi.host.GlassfishOSGiHost
init(ServletContext) - Method in interface org.apache.struts2.osgi.host.OsgiHost
init(Configuration) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
intercept(ActionInvocation) - Method in class org.apache.struts2.osgi.interceptor.OsgiInterceptor
isNoArgConstructorRequired() - Method in class org.apache.struts2.osgi.DelegatingObjectFactory

## J

JRE_JAVA_SPECIFICATION_VERSION - Static variable in class org.apache.struts2.osgi.host.BaseOsgiHost

## L

loadClass(String) - Method in interface org.apache.struts2.osgi.BundleAccessor
loadClass(String) - Method in class org.apache.struts2.osgi.BundleClassLoaderInterface
loadClass(String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
loadConfigFromBundle(Bundle) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
  Loads XML config as well as Convention config from a bundle Limitation: Constants and Beans are ignored on XML config
loadPackages(Bundle, BundleContext, ObjectFactory, FileManagerFactory, Map<String, PackageConfig>) - Method in class org.apache.struts2.osgi.BundlePackageLoader
  Deprecated.
loadPackages(Container, Bundle, BundleContext, ObjectFactory, FileManagerFactory, Map<String, PackageConfig>) - Method in class org.apache.struts2.osgi.BundlePackageLoader
loadPackages() - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
loadPackages(Bundle, BundleContext, ObjectFactory, FileManagerFactory, Map<String, PackageConfig>) - Method in interface org.apache.struts2.osgi.PackageLoader
  Deprecated.
loadPackages(Container, Bundle, BundleContext, ObjectFactory, FileManagerFactory, Map<String, PackageConfig>) - Method in interface org.apache.struts2.osgi.PackageLoader
  This method loads all of the package configurations for the specified Bundle and BundleContext.
loadResource(String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
loadResource(String, boolean) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
loadResourceAsStream(String) - Method in interface org.apache.struts2.osgi.BundleAccessor
loadResourceAsStream(String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
loadResourceFromAllBundles(String) - Method in interface org.apache.struts2.osgi.BundleAccessor
loadResourceFromAllBundles(String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
loadResourceFromAllBundlesAsStream(String) - Method in interface org.apache.struts2.osgi.BundleAccessor
loadResourceFromAllBundlesAsStream(String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
loadResources(String) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
loadResources(String, boolean) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor

## N

needsReload() - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider

## O

onBundleStopped(Bundle) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
  This method is called when a bundle is stopped, so the config that is related to it is removed
org.apache.struts2.osgi - package org.apache.struts2.osgi
org.apache.struts2.osgi.host - package org.apache.struts2.osgi.host
org.apache.struts2.osgi.interceptor - package org.apache.struts2.osgi.interceptor
org.apache.struts2.osgi.loaders - package org.apache.struts2.osgi.loaders
OSGI_BUNDLE_CONTEXT - Static variable in interface org.apache.struts2.osgi.host.OsgiHost
OSGI_FRAMEWORK_EXECUTIONENVIRONMENT - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
OSGI_FRAMEWORK_SYSTEM_CAPABILITIES - Static variable in class org.apache.struts2.osgi.host.FelixOsgiHost
OSGI_HEADER_STRUTS_ENABLED - Static variable in interface org.apache.struts2.osgi.host.OsgiHost
OSGI_HOST - Static variable in class org.apache.struts2.osgi.StrutsOsgiListener
OsgiConfigurationProvider - Class in org.apache.struts2.osgi
  Struts package provider that starts the OSGi container and delegates package loading
OsgiConfigurationProvider() - Constructor for class org.apache.struts2.osgi.OsgiConfigurationProvider
OsgiHost - Interface in org.apache.struts2.osgi.host
  Implementations of this class start an OSGi container.
OsgiHostFactory - Class in org.apache.struts2.osgi
  OsgiHostFactory that creates proper OsgiHost implementation according to context param from web.xml
OsgiInterceptor - Class in org.apache.struts2.osgi.interceptor
  If a class implements BundleContextAware, this interceptor will call the setBundleContext(BundleContext) method on it.
OsgiInterceptor() - Constructor for class org.apache.struts2.osgi.interceptor.OsgiInterceptor
OsgiUtil - Class in org.apache.struts2.osgi
OsgiUtil() - Constructor for class org.apache.struts2.osgi.OsgiUtil

## P

PackageLoader - Interface in org.apache.struts2.osgi
  Implementations of this interface can load packages from a Bundle
PLATFORM_KEY - Static variable in class org.apache.struts2.osgi.StrutsOsgiListener

## R

replaceFelixExecutionEnvironment(Properties) - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
  Replace all instances of the `FELIX_EE_JAVA_SPECIFICATION_VERSION` and `FELIX_EE_FELIX_DETECT_JPMS` within the `Constants.FRAMEWORK_EXECUTIONENVIRONMENT` property of the provided properties.
replaceFelixFrameworkSystemCapabilities(Properties) - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
  Replace all instances of the `FELIX_SERVICE_CAPS`, `FELIX_EE_CAP_JAVA_SPECIFICATION_VERSION` and `FELIX_EE_CAP_DETECT_JPMS` within the `Constants.FRAMEWORK_SYSTEMCAPABILITIES` property of the provided properties.
replaceFelixSystemPackages(Properties) - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
  Replace all instances of `FELIX_JRE_DETECT_JAVA_SPECIFICATION_VERSION` and `FELIX_JRE_DETECT_JPMS`, within the `Constants.FRAMEWORK_SYSTEMPACKAGES` property of the provided properties.
replaceSystemPackages(Properties) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
  Replace all instances of `JRE_JAVA_SPECIFICATION_VERSION`, within the `Constants.FRAMEWORK_SYSTEMPACKAGES` property of the provided properties.

## S

SCANNING_PACKAGE_INCLUDES - Static variable in class org.apache.struts2.osgi.host.BaseOsgiHost
searchForPropertiesFilesInRelativePath() - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
  Check ServletContext initialization parameter "struts.osgi.searchForPropertiesFilesInRelativePath".
ServiceAware<T> - Interface in org.apache.struts2.osgi.interceptor
  Classes implementing this interface, will be injected a list of services registered with the type of the parameterized type
servletContext - Variable in class org.apache.struts2.osgi.host.BaseOsgiHost
setBundleAccessor(BundleAccessor) - Method in class org.apache.struts2.osgi.loaders.StaticContentBundleResourceLoader
setBundleAccessor(BundleAccessor) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
setBundleAccessor(BundleAccessor) - Method in class org.apache.struts2.osgi.SpringOsgiObjectFactory
setBundleContext(BundleContext) - Method in interface org.apache.struts2.osgi.BundleAccessor
setBundleContext(BundleContext) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
setBundleContext(BundleContext) - Method in interface org.apache.struts2.osgi.interceptor.BundleContextAware
setBundleResourceLoader(BundleAccessor) - Method in class org.apache.struts2.osgi.DelegatingObjectFactory
setContextContainer(Container) - Method in class org.apache.struts2.osgi.BundlePackageLoader
  Method to set the ActionContext (or other) Container instance required for the FileManagerFactory to work.
setDelegateObjectFactory(Container, String) - Method in class org.apache.struts2.osgi.DelegatingObjectFactory
setFileManagerFactory(FileManagerFactory) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
setObjectFactory(ObjectFactory) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
setOsgiConfigurationProvider(PackageProvider) - Method in class org.apache.struts2.osgi.DelegatingObjectFactory
setOsgiHost(OsgiHost) - Method in interface org.apache.struts2.osgi.BundleAccessor
setOsgiHost(OsgiHost) - Method in class org.apache.struts2.osgi.DefaultBundleAccessor
setServices(List<T>) - Method in interface org.apache.struts2.osgi.interceptor.ServiceAware
setServletContext(ServletContext) - Method in class org.apache.struts2.osgi.interceptor.OsgiInterceptor
setServletContext(ServletContext) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
setVelocityManager(VelocityManager) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
shouldProcessBundle(Bundle) - Method in class org.apache.struts2.osgi.OsgiConfigurationProvider
  Checks for "Struts2-Enabled" header in the bundle
SpringOsgiObjectFactory - Class in org.apache.struts2.osgi
  This Object factory uses the ActionContext(s) published by Spring OSGi to lookup beans
SpringOsgiObjectFactory() - Constructor for class org.apache.struts2.osgi.SpringOsgiObjectFactory
startFelix() - Method in class org.apache.struts2.osgi.host.FelixOsgiHost
StaticContentBundleResourceLoader - Class in org.apache.struts2.osgi.loaders
  Loads static resources from bundles
StaticContentBundleResourceLoader() - Constructor for class org.apache.struts2.osgi.loaders.StaticContentBundleResourceLoader
StrutsOsgiListener - Class in org.apache.struts2.osgi
  ServletContextListener that starts OSGi host
StrutsOsgiListener() - Constructor for class org.apache.struts2.osgi.StrutsOsgiListener

## T

translateBundleURLToJarURL(URL, Bundle) - Static method in class org.apache.struts2.osgi.OsgiUtil
  A bundle is a jar, and a bundle URL will be useless to clients, this method translates a URL to a resource inside a bundle from "bundle:something/path" to "jar:file:bundlelocation!/path"

## V

VelocityBundleResourceLoader - Class in org.apache.struts2.osgi.loaders
  Finds Velocity templates in bundles
VelocityBundleResourceLoader() - Constructor for class org.apache.struts2.osgi.loaders.VelocityBundleResourceLoader
VERSION_PATTERN - Static variable in class org.apache.struts2.osgi.host.BaseOsgiHost
versionPattern - Static variable in class org.apache.struts2.osgi.host.BaseOsgiHost
  Deprecated.
  use `BaseOsgiHost.VERSION_PATTERN` instead

A B C D E F G I J L N O P R S T V

Copyright © 2000–2021 Apache Software Foundation. All rights reserved.