A B C D E F G H I L O P R S T V W

A

addFoundPlugins(ModuleDescriptorFactory) - Method in class com.atlassian.plugin.osgi.loader.OsgiPluginLoader
 
addModuleDescriptor(ModuleDescriptor) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
autowire(Class<T>, AutowireStrategy) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
autowire(Class) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
autowire(Class, int) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
autowireGeneric(Class<T>) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
AutowireStrategy - Enum in com.atlassian.plugin.osgi.loader
How to autowire a component

B

BundledOsgiPluginLoader - Class in com.atlassian.plugin.osgi.loader
Version of the osgi plugin loader that ensures plugins loaded will not be deletable.
BundledOsgiPluginLoader(URL, File, String, PluginFactory, OsgiContainerManager, HostComponentProvider) - Constructor for class com.atlassian.plugin.osgi.loader.BundledOsgiPluginLoader
Constructs the loader, but also unzips the bundled plugins to the specified plugin directory
BundledOsgiPluginLoader(File, String, PluginFactory, OsgiContainerManager, HostComponentProvider) - Constructor for class com.atlassian.plugin.osgi.loader.BundledOsgiPluginLoader
 

C

canLoad(PluginJar) - Method in class com.atlassian.plugin.osgi.loader.OsgiPluginLoader
 
close() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
com.atlassian.plugin.osgi.container - package com.atlassian.plugin.osgi.container
Classes to manage interactions with an OSGi container
com.atlassian.plugin.osgi.container.felix - package com.atlassian.plugin.osgi.container.felix
Classes to manage interactions with the Apache Felix container
com.atlassian.plugin.osgi.container.impl - package com.atlassian.plugin.osgi.container.impl
 
com.atlassian.plugin.osgi.hostcomponents - package com.atlassian.plugin.osgi.hostcomponents
This package provides a way for host applications to register their host components.
com.atlassian.plugin.osgi.hostcomponents.impl - package com.atlassian.plugin.osgi.hostcomponents.impl
Default implementation of the host component registration system that collects host components and registers them into an OSGi service registry.
com.atlassian.plugin.osgi.loader - package com.atlassian.plugin.osgi.loader
Plugin loader classes to support OSGi-based plugins
com.atlassian.plugin.osgi.loader.transform - package com.atlassian.plugin.osgi.loader.transform
Classes for transforming legacy plugin jars into proper OSGi bundles.
com.atlassian.plugin.osgi.util - package com.atlassian.plugin.osgi.util
Utility methods for OSGi operations
ComponentFilteringXmlDescriptorParserFactory - Class in com.atlassian.plugin.osgi.loader
Descriptor parser factory that creates parsers that ignore all component-related modules
ComponentFilteringXmlDescriptorParserFactory() - Constructor for class com.atlassian.plugin.osgi.loader.ComponentFilteringXmlDescriptorParserFactory
 
ComponentRegistrar - Interface in com.atlassian.plugin.osgi.hostcomponents
A registrar for capturing host components and their configuration
containsSystemModule() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
createModuleDescriptor(Plugin, Element, ModuleDescriptorFactory) - Method in class com.atlassian.plugin.osgi.loader.FilteringXmlDescriptorParser
Ignores matched modules, otherwise, the normal behavior occurs
createPlugin(DescriptorParser, DeploymentUnit, PluginClassLoader) - Method in class com.atlassian.plugin.osgi.loader.OsgiPluginLoader
 

D

DefaultComponentRegistrar - Class in com.atlassian.plugin.osgi.hostcomponents.impl
Default component registrar that also can write registered host components into the OSGi service registry
DefaultComponentRegistrar() - Constructor for class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
 
DefaultPackageScannerConfiguration - Class in com.atlassian.plugin.osgi.container.impl
Default package scanner configuration.
DefaultPackageScannerConfiguration() - Constructor for class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
DefaultPluginTransformer - Class in com.atlassian.plugin.osgi.loader.transform
Default implementation of plugin transformation that uses BND to generate the manifest and manually creates the spring configuration file.
DefaultPluginTransformer() - Constructor for class com.atlassian.plugin.osgi.loader.transform.DefaultPluginTransformer
 
deployPluginFromUnit(DeploymentUnit, ModuleDescriptorFactory) - Method in class com.atlassian.plugin.osgi.loader.BundledOsgiPluginLoader
Override the standard plugin loading in order to set isDeleteable = false because we don't ever want to delete a bundled plugin, evern though we do want to dynamically replace them.
determineExports(List<HostComponentRegistration>, PackageScannerConfiguration) - Static method in class com.atlassian.plugin.osgi.util.OsgiHeaderUtil
Determines framework exports taking into account host components and package scanner configuration.
disabled() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
doLog(ServiceReference, int, String, Throwable) - Method in class com.atlassian.plugin.osgi.container.felix.FelixLoggerBridge
 

E

enabled() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 

F

FelixLoggerBridge - Class in com.atlassian.plugin.osgi.container.felix
Bridges Felix logging messages with the Commons Logging
FelixLoggerBridge(Log) - Constructor for class com.atlassian.plugin.osgi.container.felix.FelixLoggerBridge
 
FelixOsgiContainerManager - Class in com.atlassian.plugin.osgi.container.felix
Felix implementation of the OSGi container manager
FelixOsgiContainerManager(File, PackageScannerConfiguration) - Constructor for class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
FelixOsgiContainerManager(URL, File, PackageScannerConfiguration) - Constructor for class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
FilteringXmlDescriptorParser - Class in com.atlassian.plugin.osgi.loader
Descriptor parser that ignores certain modules
FilteringXmlDescriptorParser(InputStream, String...) - Constructor for class com.atlassian.plugin.osgi.loader.FilteringXmlDescriptorParser
 
findReferredPackages(List<HostComponentRegistration>) - Static method in class com.atlassian.plugin.osgi.util.OsgiHeaderUtil
Finds all referred packages for host component registrations by scanning their declared interfaces' bytecode.
forInstance(Object) - Method in interface com.atlassian.plugin.osgi.hostcomponents.InstanceBuilder
Declares the host component instance for the registration.
fromIndex(int) - Static method in enum com.atlassian.plugin.osgi.loader.AutowireStrategy
 

G

getBundle() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
getBundles() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
getBundles() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Gets a list of installed bundles
getClassLoader() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
getDateLoaded() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getHostComponentRegistrations() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
getHostComponentRegistrations() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Gets a list of host component registrations
getI18nNameKey() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getIndex() - Method in enum com.atlassian.plugin.osgi.loader.AutowireStrategy
 
getInstance() - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration
 
getInstance(InputStream) - Method in class com.atlassian.plugin.osgi.loader.ComponentFilteringXmlDescriptorParserFactory
Gets an instance that filters the modules "component", "bean", and "spring"
getJarExcludes() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getJarExcludes() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getJarIncludes() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getJarIncludes() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getKey() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getMainInterfaceClasses() - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration
 
getMainInterfaces() - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration
 
getModuleDescriptor(String) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getModuleDescriptors() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getModuleDescriptorsByModuleClass(Class) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getName() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getPackageExcludes() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getPackageExcludes() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getPackageIncludes() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getPackageIncludes() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getPackageVersions() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getPackageVersions() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getPluginInformation() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getPluginsVersion() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getProperties() - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration
 
getRegisteredServices() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
getRegisteredServices() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Gets a list of service references
getRegistry() - Method in class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
 
getResource(String) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
getResourceAsStream(String) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
getResourceDescriptor(String, String) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getResourceDescriptors() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getResourceDescriptors(String) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
getResourceLocation(String, String) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 

H

handleNoDescriptor(DeploymentUnit) - Method in class com.atlassian.plugin.osgi.loader.OsgiPluginLoader
 
HOST_COMPONENT_FLAG - Static variable in interface com.atlassian.plugin.osgi.hostcomponents.ComponentRegistrar
The flag to mark host components from other OSGi services
HostComponentProvider - Interface in com.atlassian.plugin.osgi.hostcomponents
Defines an object that provides host components.
HostComponentRegistration - Interface in com.atlassian.plugin.osgi.hostcomponents
Represents a registration of a host component

I

installBundle(File) - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
installBundle(File) - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Installs a bundle into a running OSGI container
InstanceBuilder - Interface in com.atlassian.plugin.osgi.hostcomponents
Ties a host component registration with a host component instance
isBundledPlugin() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
isBundledPlugin() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
isDeleteable() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
isDeleteable() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
isDynamicallyLoaded() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
isDynamicallyLoaded() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
This plugin is dynamically loaded, so returns true.
isEnabled() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
isEnabledByDefault() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
isRunning() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
isRunning() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
 
isSystemPlugin() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
isUninstallable() - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
isUninstallable() - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 

L

loadAllPlugins(ModuleDescriptorFactory) - Method in class com.atlassian.plugin.osgi.loader.OsgiPluginLoader
 
loadClass(String, Class) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 

O

OSGI_FRAMEWORK_BUNDLES_ZIP - Static variable in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
OsgiBundlePlugin - Class in com.atlassian.plugin.osgi.loader
Plugin that wraps an OSGi bundle that has no plugin descriptor.
OsgiBundlePlugin(Bundle) - Constructor for class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
OsgiContainerException - Exception in com.atlassian.plugin.osgi.container
Generic wrapper exception for any OSGi-related exceptions
OsgiContainerException() - Constructor for exception com.atlassian.plugin.osgi.container.OsgiContainerException
 
OsgiContainerException(String) - Constructor for exception com.atlassian.plugin.osgi.container.OsgiContainerException
 
OsgiContainerException(String, Throwable) - Constructor for exception com.atlassian.plugin.osgi.container.OsgiContainerException
 
OsgiContainerException(Throwable) - Constructor for exception com.atlassian.plugin.osgi.container.OsgiContainerException
 
OsgiContainerManager - Interface in com.atlassian.plugin.osgi.container
Manages the OSGi container and handles any interactions with it
OsgiHeaderUtil - Class in com.atlassian.plugin.osgi.util
Utilities to help create OSGi headers
OsgiHeaderUtil() - Constructor for class com.atlassian.plugin.osgi.util.OsgiHeaderUtil
 
OsgiPlugin - Class in com.atlassian.plugin.osgi.loader
Plugin that wraps an OSGi bundle that does contain a plugin descriptor.
OsgiPlugin(Bundle) - Constructor for class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
OsgiPluginLoader - Class in com.atlassian.plugin.osgi.loader
Plugin loader that starts an OSGi container and loads plugins into it, wrapped as OSGi bundles.
OsgiPluginLoader(File, String, PluginFactory, OsgiContainerManager, HostComponentProvider) - Constructor for class com.atlassian.plugin.osgi.loader.OsgiPluginLoader
 

P

PackageScannerConfiguration - Interface in com.atlassian.plugin.osgi.container
Contains configuration for the package scanning algorithm that scans your classpath to determine which packages and versions to export to OSGi.
PluginTransformationException - Exception in com.atlassian.plugin.osgi.loader.transform
Generic wrapper exception for all exceptions thrown during plugin transformation
PluginTransformationException() - Constructor for exception com.atlassian.plugin.osgi.loader.transform.PluginTransformationException
 
PluginTransformationException(String) - Constructor for exception com.atlassian.plugin.osgi.loader.transform.PluginTransformationException
 
PluginTransformationException(String, Throwable) - Constructor for exception com.atlassian.plugin.osgi.loader.transform.PluginTransformationException
 
PluginTransformationException(Throwable) - Constructor for exception com.atlassian.plugin.osgi.loader.transform.PluginTransformationException
 
PluginTransformer - Interface in com.atlassian.plugin.osgi.loader.transform
Transforms a plugin jar into a proper OSGi bundle
PropertyBuilder - Interface in com.atlassian.plugin.osgi.hostcomponents
Ties properties to the host component registration
provide(ComponentRegistrar) - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider
Gives the object a chance to register its host components with the registrar

R

register(Class<?>...) - Method in interface com.atlassian.plugin.osgi.hostcomponents.ComponentRegistrar
Starts the single host component registration by declaring it as implementing one or more interfaces
register(Class<?>...) - Method in class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
 
reloadHostComponents(HostComponentProvider) - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
reloadHostComponents(HostComponentProvider) - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Reloads all host components used

S

setBundled(boolean) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
setDeletable(boolean) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
setDisableMultipleBundleVersions(boolean) - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
setEnabled(boolean) - Method in class com.atlassian.plugin.osgi.loader.OsgiPlugin
 
setEnabledByDefault(boolean) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
setI18nNameKey(String) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
setJarExcludes(List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
setJarIncludes(List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
setJarPatterns(List<String>, List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
Sets the jars to include and exclude from scanning
setKey(String) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
setName(String) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
setPackageExcludes(List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
setPackageIncludes(List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
setPackagePatterns(List<String>, List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
Sets the packages to include and exclude
setPackageVersions(Map<String, String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
Maps discovered packages to specific versions by overriding autodiscovered versions
setPluginInformation(PluginInformation) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
setPluginsVersion(int) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
setPluginTransformer(PluginTransformer) - Method in class com.atlassian.plugin.osgi.loader.OsgiPluginLoader
 
setResources(Resourced) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
setSystemPlugin(boolean) - Method in class com.atlassian.plugin.osgi.loader.OsgiBundlePlugin
 
shutDown() - Method in class com.atlassian.plugin.osgi.loader.OsgiPluginLoader
 
start(HostComponentProvider) - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
start(HostComponentProvider) - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Starts the OSGi container
stop() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
stop() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Stops the OSGi container

T

transform(File, List<HostComponentRegistration>) - Method in class com.atlassian.plugin.osgi.loader.transform.DefaultPluginTransformer
Transforms the file into an OSGi bundle
transform(File, List<HostComponentRegistration>) - Method in interface com.atlassian.plugin.osgi.loader.transform.PluginTransformer
Transforms a plugin jar into a proper OSGi bundle

V

valueOf(String) - Static method in enum com.atlassian.plugin.osgi.loader.AutowireStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.atlassian.plugin.osgi.loader.AutowireStrategy
Returns an array containing the constants of this enum type, in the order they are declared.

W

withName(String) - Method in interface com.atlassian.plugin.osgi.hostcomponents.PropertyBuilder
Sets the bean name of the host component
withProperty(String, String) - Method in interface com.atlassian.plugin.osgi.hostcomponents.PropertyBuilder
Sets an arbitrary property to register with the host component
wrapService(Class[], Object) - Method in class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
Wraps the service in a dynamic proxy that ensures all methods are executed with the object class's class loader as the context class loader
writeRegistry(BundleContext) - Method in class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
 

A B C D E F G H I L O P R S T V W

Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.