- cause - Variable in class org.ow2.chameleon.core.services.StabilityResult
-
The cause.
- Chameleon - Class in org.ow2.chameleon.core
-
Chameleon main entry point.
- Chameleon(File, boolean, Map<String, Object>) - Constructor for class org.ow2.chameleon.core.Chameleon
-
Creates a chameleon instance.
- Chameleon(ChameleonConfiguration) - Constructor for class org.ow2.chameleon.core.Chameleon
-
Creates a chameleon instance.
- Chameleon(boolean) - Constructor for class org.ow2.chameleon.core.Chameleon
-
Creates a Chameleon instance.
- Chameleon(String, boolean) - Constructor for class org.ow2.chameleon.core.Chameleon
-
Creates a Chameleon instance.
- Chameleon(boolean, Map<String, Object>) - Constructor for class org.ow2.chameleon.core.Chameleon
-
Creates a Chameleon instance.
- CHAMELEON_APPLICATION_MONITORING_PROPERTY - Static variable in class org.ow2.chameleon.core.Constants
-
The property used to enable / disable the monitoring of the application directory.
- CHAMELEON_APPLICATION_PROPERTY - Static variable in class org.ow2.chameleon.core.Constants
-
The property used to configure the application directory location.
- CHAMELEON_BASEDIR - Static variable in class org.ow2.chameleon.core.Chameleon
-
A system property to set the chameleon location externally.
- CHAMELEON_CORE_PROPERTY - Static variable in class org.ow2.chameleon.core.Constants
-
The property used to configure the core directory location.
- CHAMELEON_LOGGER_CONFIGURATION - Static variable in class org.ow2.chameleon.core.Constants
-
The default location of the logger configuration.
- CHAMELEON_LOGGER_NAME - Static variable in class org.ow2.chameleon.core.Constants
-
The chameleon logger name.
- CHAMELEON_MONITORING_PERIOD_PROPERTY - Static variable in class org.ow2.chameleon.core.Constants
-
The property used to configure the periodic polling to detect changed in monitored directories.
- CHAMELEON_PROPERTIES_FILE - Static variable in class org.ow2.chameleon.core.Constants
-
The default chameleon properties file.
- CHAMELEON_RUNTIME_MONITORING_PROPERTY - Static variable in class org.ow2.chameleon.core.Constants
-
The property used to enable / disable the monitoring of the runtime directory.
- CHAMELEON_RUNTIME_PROPERTY - Static variable in class org.ow2.chameleon.core.Constants
-
The property used to configure the runtime directory location.
- ChameleonConfiguration - Class in org.ow2.chameleon.core
-
Manages the configuration of the OSGi framework and of the chameleon container and services.
- ChameleonConfiguration(File) - Constructor for class org.ow2.chameleon.core.ChameleonConfiguration
-
Constructor for ChameleonConfiguration.
- check() - Method in class org.ow2.chameleon.core.activators.BundleStabilityChecker
-
Tries to reach the stability criteria checked by the current checker.
- check() - Method in class org.ow2.chameleon.core.activators.IPojoProcessingStabilityChecker
-
Tries to reach the stability criteria checked by the current checker.
- check() - Method in class org.ow2.chameleon.core.activators.ServiceStabilityChecker
-
Tries to reach the stability criteria checked by the current checker.
- check() - Method in interface org.ow2.chameleon.core.services.StabilityChecker
-
Tries to reach the stability criteria checked by the current checker.
- close() - Method in class org.ow2.chameleon.core.services.AbstractDeployer
-
Callback called when the deployer is closed.
- close() - Method in interface org.ow2.chameleon.core.services.Deployer
-
Callback called when the deployer is closed.
- config(String) - Method in class org.ow2.chameleon.core.utils.jul.JulWrapper
-
Logs a 'config' message.
- ConfigDeployer - Class in org.ow2.chameleon.core.activators
-
Deployer pushing the content of 'cfg' files to the Configuration Admin.
- ConfigDeployer() - Constructor for class org.ow2.chameleon.core.activators.ConfigDeployer
-
Creates a configuration (cfg) deployer.
- configuration() - Method in class org.ow2.chameleon.core.utils.FrameworkManager
-
Gets the chameleon configuration.
- configure(ChameleonConfiguration) - Static method in class org.ow2.chameleon.core.utils.LogbackUtil
-
Loads logback configuration and gets the root logger.
- configured(ChameleonConfiguration) - Method in class org.ow2.chameleon.core.hook.DefaultHook
-
Callback called when the Chameleon instance is configured but not yet created.
- configured(ChameleonConfiguration) - Method in interface org.ow2.chameleon.core.hook.Hook
-
Callback called when the Chameleon instance is configured but not yet created.
- Constants - Class in org.ow2.chameleon.core
-
Constants.
- context() - Method in class org.ow2.chameleon.core.Chameleon
-
Retrieves the bundle context of the underlying framework.
- CoreActivator - Class in org.ow2.chameleon.core.activators
-
Core activator.
- CoreActivator(File, boolean) - Constructor for class org.ow2.chameleon.core.activators.CoreActivator
-
Creates the core activator.
- create(File, Map<String, String>) - Static method in class org.ow2.chameleon.core.utils.FrameworkUtil
-
Creates the framework instance and configures it using the given configuration.
- createChameleon(String[]) - Static method in class org.ow2.chameleon.core.Main
-
Creates the Chameleon instance.The instance is not started.
- get(String, String) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Retrieves the value from the configuration.
- get() - Method in class org.ow2.chameleon.core.utils.FrameworkManager
-
Gets the held framework instance.
- getBaseDirectory() - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Gets the base directory.
- getBoolean(String, boolean) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Retrieves the value from the configuration.
- getBundleStability(BundleContext) - Static method in class org.ow2.chameleon.core.activators.BundleStabilityChecker
-
Are bundle stables.
- getDirectory(String, boolean) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Retrieves a directory from the configuration.
- getExtensions() - Method in class org.ow2.chameleon.core.services.ExtensionBasedDeployer
-
Gets the managed extensions.
- getFile(String, boolean) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Retrieves a file from the configuration.
- getFrameworkClassLoader(File) - Static method in class org.ow2.chameleon.core.utils.FrameworkClassLoader
-
- getFrameworkClassLoader(File, Map<String, String>) - Static method in class org.ow2.chameleon.core.utils.FrameworkClassLoader
-
- getFrameworkFactory(File, Map<String, String>) - Static method in class org.ow2.chameleon.core.utils.FrameworkUtil
-
Simple method to parse META-INF/services file for framework factory.
- getInt(String, int) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Retrieves the value from the configuration.
- getLevel() - Method in class org.ow2.chameleon.core.utils.jul.JulWrapper
-
Gets the current log level.
- getLogger(String) - Method in class org.ow2.chameleon.core.utils.jul.JulLogManager
-
Method to find a named logger.
- getLoggerNames() - Method in class org.ow2.chameleon.core.utils.jul.JulLogManager
-
Get an enumeration of known logger names.
- getName() - Method in class org.ow2.chameleon.core.activators.BundleStabilityChecker
-
Gets the name of the checker.
- getName() - Method in class org.ow2.chameleon.core.activators.IPojoProcessingStabilityChecker
-
Gets the name of the checker.
- getName() - Method in class org.ow2.chameleon.core.activators.ServiceStabilityChecker
-
Gets the name of the checker.
- getName() - Method in interface org.ow2.chameleon.core.services.StabilityChecker
-
Gets the name of the checker.
- getName() - Method in class org.ow2.chameleon.core.utils.jul.JulWrapper
-
Gets the logger name.
- getPriority() - Method in class org.ow2.chameleon.core.activators.BundleStabilityChecker
-
Gets the checker priority.
- getPriority() - Method in class org.ow2.chameleon.core.activators.IPojoProcessingStabilityChecker
-
Gets the checker priority.
- getPriority() - Method in class org.ow2.chameleon.core.activators.ServiceStabilityChecker
-
Gets the checker priority.
- getPriority() - Method in interface org.ow2.chameleon.core.services.StabilityChecker
-
Gets the checker priority.
- getProperty(String) - Method in class org.ow2.chameleon.core.utils.jul.JulLogManager
-
Return always null because we don't store properties.
- getRelativeFile(String) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Gets a relative file from the the base directory.
- getStabilityResult() - Method in class org.ow2.chameleon.core.activators.StabilityComputation
-
Checks and retrieve the individual stability check result.
- getStabilityResult() - Method in interface org.ow2.chameleon.core.services.Stability
-
Checks and retrieve the individual stability check result.
- getTimeFactor() - Method in class org.ow2.chameleon.core.services.AbstractStabilityChecker
-
- grace(long, TimeUnit) - Method in class org.ow2.chameleon.core.services.AbstractStabilityChecker
-
- info(String) - Method in class org.ow2.chameleon.core.utils.jul.JulWrapper
-
Logs an 'info' message.
- initFrameworkConfiguration() - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Initializes the framework configuration.
- initialize(Map<String, Object>) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Initializes the configuration.
- initializeLoggingSystem(ChameleonConfiguration) - Static method in class org.ow2.chameleon.core.Chameleon
-
Initialized the logging framework (backend).
- initializing() - Method in class org.ow2.chameleon.core.hook.DefaultHook
-
Callback called when Chameleon just starts.
- initializing() - Method in interface org.ow2.chameleon.core.hook.Hook
-
Callback called when Chameleon just starts.
- installBundles() - Method in class org.ow2.chameleon.core.activators.CoreActivator
-
Installs and starts the core bundles.
- INTERACTIVE_ARGUMENT - Static variable in class org.ow2.chameleon.core.Main
-
The argument enabling the shell prompt.
- IPojoProcessingStabilityChecker - Class in org.ow2.chameleon.core.activators
-
Stability check verifying that we reach stability in term of services.
- IPojoProcessingStabilityChecker(BundleContext) - Constructor for class org.ow2.chameleon.core.activators.IPojoProcessingStabilityChecker
-
- isBundle(File) - Static method in class org.ow2.chameleon.core.utils.BundleHelper
-
Checks whether the given file is a bundle or not.
- isFragment(Bundle) - Static method in class org.ow2.chameleon.core.utils.BundleHelper
-
Checks if a bundle is a fragment.
- isInteractiveModeEnabled() - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Is the interactive mode enabled?
- isLoggable(Level) - Method in class org.ow2.chameleon.core.utils.jul.JulWrapper
-
Checks whether or not the given level is currently 'loggable'.
- isStable() - Method in class org.ow2.chameleon.core.activators.StabilityComputation
-
Checks whether the current framework is stable or not.
- isStable() - Method in interface org.ow2.chameleon.core.services.Stability
-
Checks whether the current framework is stable or not.
- isStable - Variable in class org.ow2.chameleon.core.services.StabilityResult
-
Whether or not the check has found a stable state.
- scan(JarFile, String) - Static method in class org.ow2.chameleon.core.utils.JarScanner
-
Builds the set of
Pckg to export from the given jar file.
- scan(File) - Static method in class org.ow2.chameleon.core.utils.JarScanner
-
Builds the set of
Pckg to export from the given file (must be a jar file).
- scanLibsDirectory() - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
Scans the jar file of the 'libs' directory to retrieve the packages to be exported.
- serviceChanged(ServiceEvent) - Method in class org.ow2.chameleon.core.activators.ConfigDeployer
- serviceChanged(ServiceEvent) - Method in class org.ow2.chameleon.core.activators.LogActivator
-
The Service Listener method.
- ServiceStabilityChecker - Class in org.ow2.chameleon.core.activators
-
Stability check verifying that we reach stability in term of services.
- ServiceStabilityChecker(BundleContext) - Constructor for class org.ow2.chameleon.core.activators.ServiceStabilityChecker
-
- ServiceStabilityChecker(BundleContext, int) - Constructor for class org.ow2.chameleon.core.activators.ServiceStabilityChecker
-
- setInteractiveModeEnabled(boolean) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
-
enables/ disables the interactive mode.
- setLevel(Level) - Method in class org.ow2.chameleon.core.utils.jul.JulWrapper
-
Sets level of the logger.
- setLogServiceReference(ServiceReference) - Method in class org.ow2.chameleon.core.activators.LogActivator
-
Sets the log service reference.
- severe(String) - Method in class org.ow2.chameleon.core.utils.jul.JulWrapper
-
Logs a 'severe' message.
- shuttingDown() - Method in class org.ow2.chameleon.core.hook.DefaultHook
-
Callback called when the Chameleon instance is stopped just before leaving.
- shuttingDown() - Method in interface org.ow2.chameleon.core.hook.Hook
-
Callback called when the Chameleon instance is stopped just before leaving.
- Stability - Interface in org.ow2.chameleon.core.services
-
An interface to check the stability of the running application.
- StabilityChecker - Interface in org.ow2.chameleon.core.services
-
Service exposed to extend the stability computation.
- StabilityComputation - Class in org.ow2.chameleon.core.activators
-
- StabilityComputation() - Constructor for class org.ow2.chameleon.core.activators.StabilityComputation
-
- StabilityResult - Class in org.ow2.chameleon.core.services
-
Class representing the result of a stability check.
- stable() - Static method in class org.ow2.chameleon.core.services.StabilityResult
-
- start(BundleContext) - Method in class org.ow2.chameleon.core.activators.BundleDeployer
- start(BundleContext) - Method in class org.ow2.chameleon.core.activators.ConfigDeployer
- start(BundleContext) - Method in class org.ow2.chameleon.core.activators.CoreActivator
- start(BundleContext) - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
- start(BundleContext) - Method in class org.ow2.chameleon.core.activators.LogActivator
- start(BundleContext) - Method in class org.ow2.chameleon.core.activators.StabilityComputation
-
Stores the bundle context, and expose the stability service.
- start() - Method in class org.ow2.chameleon.core.Chameleon
-
Initializes and Starts the Chameleon frameworks.
- start() - Method in class org.ow2.chameleon.core.utils.FrameworkManager
-
Initializes and Starts the Chameleon frameworks.
- stop(BundleContext) - Method in class org.ow2.chameleon.core.activators.BundleDeployer
- stop(BundleContext) - Method in class org.ow2.chameleon.core.activators.ConfigDeployer
- stop(BundleContext) - Method in class org.ow2.chameleon.core.activators.CoreActivator
- stop(BundleContext) - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
- stop(BundleContext) - Method in class org.ow2.chameleon.core.activators.LogActivator
-
Stops Log tracking.
- stop(BundleContext) - Method in class org.ow2.chameleon.core.activators.StabilityComputation
-
Unregister the stability service.
- stop() - Method in class org.ow2.chameleon.core.Chameleon
-
Stops the underlying framework.
- stop() - Method in class org.ow2.chameleon.core.utils.FrameworkManager
-
Stops the underlying framework.
- StringUtils - Class in org.ow2.chameleon.core.utils
-
String Utils methods.
- substVars(String, String, Map<String, String>, Properties) - Static method in class org.ow2.chameleon.core.utils.StringUtils
-
This method performs property variable substitution on the specified
value.
- SYSTEM_PROPERTIES_FILE - Static variable in class org.ow2.chameleon.core.Constants
-
The default system properties file.