Skip navigation links
A B C D E F G I L M N O P R S W 

A

AbstractDeployer - Class in org.ow2.chameleon.core.services
A default implementation of the deployer.
AbstractDeployer() - Constructor for class org.ow2.chameleon.core.services.AbstractDeployer
 
accept(File) - Method in class org.ow2.chameleon.core.activators.BundleDeployer
Does the current deployer accept the given file.
accept(File) - Method in interface org.ow2.chameleon.core.services.Deployer
Does the current deployer accept the given file.
accept(File) - Method in class org.ow2.chameleon.core.services.DirectoryBasedDeployer
Does the current deployer accept the given file.
accept(File) - Method in class org.ow2.chameleon.core.services.ExtensionBasedDeployer
Does the current deployer accept the given file.
acquireReadLockIfNotHeld() - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
Acquires the read lock only and only if no read lock is already held by the current thread.
acquireWriteLockIfNotHeld() - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
Acquires the write lock only and only if the write lock is not already held by the current thread.
add(File, boolean) - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
Adds a directory to the watcher.
add(File, long) - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
Adds a directory to the watcher.
add(File, boolean) - Method in interface org.ow2.chameleon.core.services.Watcher
Adds a directory to the watcher.
add(File, long) - Method in interface org.ow2.chameleon.core.services.Watcher
Adds a directory to the watcher.
addActivators(List<BundleActivator>) - Method in class org.ow2.chameleon.core.utils.FrameworkManager
Adds activators to the framework.
addingService(ServiceReference<Deployer>) - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor

B

BUNDLE_MANIFEST_VERSION - Static variable in class org.ow2.chameleon.core.utils.BundleHelper
The constant Bundle-ManifestVersion manifest header.
BundleDeployer - Class in org.ow2.chameleon.core.activators
Deployer installing and starting bundles.
BundleDeployer(boolean) - Constructor for class org.ow2.chameleon.core.activators.BundleDeployer
Creates a bundle deployer.
BundleHelper - Class in org.ow2.chameleon.core.utils
Utility function on bundles.

C

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.
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.
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.
configure(ChameleonConfiguration) - Static method in class org.ow2.chameleon.core.utils.LogbackUtil
Loads logback configuration and gets the root logger.
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(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.

D

Deployer - Interface in org.ow2.chameleon.core.services
An interface to extend deployer capability of Chameleon.
deployers - Variable in class org.ow2.chameleon.core.activators.DirectoryMonitor
List of deployers.
DirectoryBasedDeployer - Class in org.ow2.chameleon.core.services
A default implementation of the deployer accepting file from a specified directory.
DirectoryBasedDeployer(File) - Constructor for class org.ow2.chameleon.core.services.DirectoryBasedDeployer
Creates a new directory deployer.
DirectoryMonitor - Class in org.ow2.chameleon.core.activators
Monitors a directory.
DirectoryMonitor() - Constructor for class org.ow2.chameleon.core.activators.DirectoryMonitor
 

E

ExtensionBasedDeployer - Class in org.ow2.chameleon.core.services
A default implementation of the deployer accepting file by extension.
ExtensionBasedDeployer(String[]) - Constructor for class org.ow2.chameleon.core.services.ExtensionBasedDeployer
Creates a new extension-based deployer.
ExtensionBasedDeployer(String) - Constructor for class org.ow2.chameleon.core.services.ExtensionBasedDeployer
Creates a new extension-based deployer.
ExtensionBasedDeployer(List<String>) - Constructor for class org.ow2.chameleon.core.services.ExtensionBasedDeployer
Creates a new extension-based deployer.

F

framework() - Method in class org.ow2.chameleon.core.Chameleon
Retrieves the underlying framework.
FRAMEWORK_FACTORY - Static variable in class org.ow2.chameleon.core.utils.FrameworkUtil
The path to the file specifying the framework factory class to use.
FrameworkManager - Class in org.ow2.chameleon.core.utils
Framework keeper.
FrameworkManager(Chameleon, ChameleonConfiguration) - Constructor for class org.ow2.chameleon.core.utils.FrameworkManager
Creates the framework manager.
FrameworkUtil - Class in org.ow2.chameleon.core.utils
Utility function to launch the underlying OSGi Framework.

G

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.
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.
getFrameworkFactory() - 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.
getRelativeFile(String) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
Gets a relative file from the the base directory.

I

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).
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.
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?

L

loadChameleonProperties() - Method in class org.ow2.chameleon.core.ChameleonConfiguration
Loads the chameleon properties file.
loadSystemProperties() - Method in class org.ow2.chameleon.core.ChameleonConfiguration
Loads system properties.
loadSystemPropertiesSpecifiedByTheUser(Map<String, Object>) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
Loads the system properties specified by the user.
LogActivator - Class in org.ow2.chameleon.core.activators
Starts the logging support.
LogActivator(Logger) - Constructor for class org.ow2.chameleon.core.activators.LogActivator
Creates a log activator.
LogbackUtil - Class in org.ow2.chameleon.core.utils
Gets the root logger configured from the default logger configuration file.
logged(LogEntry) - Method in class org.ow2.chameleon.core.activators.LogActivator
A message were logged in the log service.
logger - Variable in class org.ow2.chameleon.core.services.DirectoryBasedDeployer
A logger.

M

Main - Class in org.ow2.chameleon.core
Chameleon's core main Entry Point.
main(String[]) - Static method in class org.ow2.chameleon.core.Main
Main method.
MANIFEST - Static variable in class org.ow2.chameleon.core.utils.BundleHelper
The constant MANIFEST.MF path.
modifiedService(ServiceReference<Deployer>, Deployer) - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
MonitorThreadFactory - Class in org.ow2.chameleon.core.utils
The thread factory used to create the monitor thread.
MonitorThreadFactory(File) - Constructor for class org.ow2.chameleon.core.utils.MonitorThreadFactory
Creates a monitor thread factory.

N

newThread(Runnable) - Method in class org.ow2.chameleon.core.utils.MonitorThreadFactory

O

onFileChange(File) - Method in class org.ow2.chameleon.core.services.AbstractDeployer
Callback called when an accepted file is updated.
onFileChange(File) - Method in interface org.ow2.chameleon.core.services.Deployer
Callback called when an accepted file is updated.
onFileCreate(File) - Method in class org.ow2.chameleon.core.activators.BundleDeployer
Callback called when an accepted file is created.
onFileCreate(File) - Method in class org.ow2.chameleon.core.activators.ConfigDeployer
Callback called when an accepted file is created.
onFileCreate(File) - Method in class org.ow2.chameleon.core.services.AbstractDeployer
Callback called when an accepted file is created.
onFileCreate(File) - Method in interface org.ow2.chameleon.core.services.Deployer
Callback called when an accepted file is created.
onFileDelete(File) - Method in class org.ow2.chameleon.core.activators.BundleDeployer
Callback called when an accepted file is deleted.
onFileDelete(File) - Method in class org.ow2.chameleon.core.activators.ConfigDeployer
Callback called when an accepted file is deleted.
onFileDelete(File) - Method in class org.ow2.chameleon.core.services.AbstractDeployer
Callback called when an accepted file is deleted.
onFileDelete(File) - Method in interface org.ow2.chameleon.core.services.Deployer
Callback called when an accepted file is deleted.
open(Collection<File>) - Method in class org.ow2.chameleon.core.activators.BundleDeployer
Method called when the deployer is initialized.
open(Collection<File>) - Method in class org.ow2.chameleon.core.services.AbstractDeployer
Method called when the deployer is initialized.
open(Collection<File>) - Method in interface org.ow2.chameleon.core.services.Deployer
Method called when the deployer is initialized.
org.ow2.chameleon.core - package org.ow2.chameleon.core
 
org.ow2.chameleon.core.activators - package org.ow2.chameleon.core.activators
 
org.ow2.chameleon.core.services - package org.ow2.chameleon.core.services
 
org.ow2.chameleon.core.utils - package org.ow2.chameleon.core.utils
 
OSGI_STOP_TIMEOUT - Static variable in class org.ow2.chameleon.core.Constants
OSGi stop timeout.

P

parseUserProperties(String[]) - Static method in class org.ow2.chameleon.core.Main
Parses all -Dxxx properties (as well as -Dxxx=yyy).
PREFIX - Static variable in class org.ow2.chameleon.core.utils.MonitorThreadFactory
The thread name prefix.

R

read(InputStream) - Static method in class org.ow2.chameleon.core.utils.FrameworkUtil
Reads the framework factory file.
REFERENCE_URL_PREFIX - Static variable in class org.ow2.chameleon.core.activators.BundleDeployer
The URL prefix to enable 'reference'.
releaseReadLockIfHeld() - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
Releases the read lock only and only if the read lock is held by the current thread.
releaseWriteLockIfHeld() - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
Releases the write lock only and only if the write lock is held by the current thread.
removeAndStopIfNeeded(File) - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor
If the directory was added, remove it.
removeAndStopIfNeeded(File) - Method in interface org.ow2.chameleon.core.services.Watcher
If the directory was added, remove it.
removedService(ServiceReference<Deployer>, Deployer) - Method in class org.ow2.chameleon.core.activators.DirectoryMonitor

S

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.
setInteractiveModeEnabled(boolean) - Method in class org.ow2.chameleon.core.ChameleonConfiguration
enables/ disables the interactive mode.
setLogServiceReference(ServiceReference) - Method in class org.ow2.chameleon.core.activators.LogActivator
Sets the log service reference.
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

Initializes LogReaderService tracking.

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() - 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.

W

Watcher - Interface in org.ow2.chameleon.core.services
A service letting adding / removing directory watchers.
A B C D E F G I L M N O P R S W 
Skip navigation links

Copyright © 2009–2014 OW2 Chameleon. All rights reserved.