Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A B C D F G I 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
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
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 refelection.
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
DelegatingObjectFactory - Class in org.apache.struts2.osgi
DelegatingObjectFactory() - Constructor for class org.apache.struts2.osgi.DelegatingObjectFactory
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

## F

felix - 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
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

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 refelection.
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
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
  Return a list of directories under a directory whose name is a number
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
  Gets the version used to export the packages.
getVersionFromString(String) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost
  Extracts numbers followed by "." or "-" from the string and joins them with "."
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

## 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
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
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_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 deelgates 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

  Two implementations are supported right now: - Apache Felix - Glassfish (which contains Apache Felix already)
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

replaceSystemPackages(Properties) - Method in class org.apache.struts2.osgi.host.BaseOsgiHost

## S

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
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 bunble 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
versionPattern - Static variable in class org.apache.struts2.osgi.host.BaseOsgiHost

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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