Skip navigation links
B C D E F G H I L O P R S T U W 

B

bundleChanged(BundleEvent) - Method in class org.apache.felix.cm.impl.ConfigurationManager
 

C

CM_CONFIG_DIR - Static variable in class org.apache.felix.cm.impl.ConfigurationManager
The name of the bundle context property defining the location for the configuration files (value is "felix.cm.dir").
CM_LOG_LEVEL - Static variable in class org.apache.felix.cm.impl.ConfigurationManager
The name of the bundle context property defining the maximum log level (value is "felix.cm.loglevel").
code2Type - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
compareTo(Object) - Method in interface org.osgi.framework.ServiceReference
Compares this ServiceReference with the specified ServiceReference for order.
ConfigurationAdapter - Class in org.apache.felix.cm.impl
The ConfigurationAdapter is just an adapter to the internal configuration object.
ConfigurationAdminImpl - Class in org.apache.felix.cm.impl
The ConfigurationAdminImpl is the per-bundle frontend to the configuration manager.
ConfigurationHandler - Class in org.apache.felix.cm.file
The ConfigurationHandler class implements configuration reading form a java.io.InputStream and writing to a java.io.OutputStream on behalf of the FilePersistenceManager class.
ConfigurationManager - Class in org.apache.felix.cm.impl
The ConfigurationManager is the central class in this implementation of the Configuration Admin Service Specification.
ConfigurationManager() - Constructor for class org.apache.felix.cm.impl.ConfigurationManager
 
createFactoryConfiguration(String) - Method in class org.apache.felix.cm.impl.ConfigurationAdminImpl
 
createFactoryConfiguration(String, String) - Method in class org.apache.felix.cm.impl.ConfigurationAdminImpl
 
CRLF - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 

D

DEFAULT_CONFIG_DIR - Static variable in class org.apache.felix.cm.file.FilePersistenceManager
The default configuration data directory if no location is configured (value is "config").
delete(String) - Method in class org.apache.felix.cm.file.FilePersistenceManager
Deletes the file for the given identifier.
delete() - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
delete(String) - Method in interface org.apache.felix.cm.PersistenceManager
Removes the Dictionary for the given pid.

E

ENCODING - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
equals(Object) - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
exists(String) - Method in class org.apache.felix.cm.file.FilePersistenceManager
Returns true if a (configuration) file exists for the given identifier.
exists(String) - Method in interface org.apache.felix.cm.PersistenceManager
Returns true if a persisted Dictionary exists for the given pid.

F

FilePersistenceManager - Class in org.apache.felix.cm.file
The FilePersistenceManager class stores configuration data in properties-like files inside a given directory.
FilePersistenceManager(String) - Constructor for class org.apache.felix.cm.file.FilePersistenceManager
Creates an instance of this persistence manager using the given location as the directory to store and retrieve the configuration files.
FilePersistenceManager(BundleContext, String) - Constructor for class org.apache.felix.cm.file.FilePersistenceManager
Creates an instance of this persistence manager using the given location as the directory to store and retrieve the configuration files.

G

getBundle() - Method in interface org.osgi.framework.ServiceReference
Returns the bundle that registered the service referenced by this ServiceReference object.
getBundleLocation() - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
getConfiguration(String) - Method in class org.apache.felix.cm.impl.ConfigurationAdminImpl
 
getConfiguration(String, String) - Method in class org.apache.felix.cm.impl.ConfigurationAdminImpl
 
getDictionaries() - Method in class org.apache.felix.cm.file.FilePersistenceManager
Loads configuration data from the configuration location and returns it as Dictionary objects.
getDictionaries() - Method in interface org.apache.felix.cm.PersistenceManager
Returns an enumeration of all Dictionary objects known to this persistence manager.
getFactoryPid() - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
getLocation() - Method in class org.apache.felix.cm.file.FilePersistenceManager
Returns the directory in which the configuration files are written as a File object.
getPid() - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
getProperties() - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
getProperty(String) - Method in interface org.osgi.framework.ServiceReference
Returns the property value to which the specified property key is mapped in the properties Dictionary object of the service referenced by this ServiceReference object.
getPropertyKeys() - Method in interface org.osgi.framework.ServiceReference
Returns an array of the keys in the properties Dictionary object of the service referenced by this ServiceReference object.
getUsingBundles() - Method in interface org.osgi.framework.ServiceReference
Returns the bundles that are using the service referenced by this ServiceReference object.

H

hashCode() - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 

I

isAssignableTo(Bundle, String) - Method in interface org.osgi.framework.ServiceReference
Tests if the bundle that registered the service referenced by this ServiceReference and the specified bundle use the same source for the package of the specified class name.

L

listConfigurations(String) - Method in class org.apache.felix.cm.impl.ConfigurationAdminImpl
 
load(String) - Method in class org.apache.felix.cm.file.FilePersistenceManager
Reads the (configuration) for the given identifier into a Dictionary object.
load(String) - Method in interface org.apache.felix.cm.PersistenceManager
Returns the Dictionary for the given pid.

O

org.apache.felix.cm - package org.apache.felix.cm
 
org.apache.felix.cm.file - package org.apache.felix.cm.file
 
org.apache.felix.cm.impl - package org.apache.felix.cm.impl
 
org.osgi.framework - package org.osgi.framework
Framework Package Version 1.5.

P

PersistenceManager - Interface in org.apache.felix.cm
The PersistenceManager interface defines the API to be implemented to support persisting configuration data.

R

read(InputStream) - Static method in class org.apache.felix.cm.file.ConfigurationHandler
Reads configuration data from the given InputStream and returns a new Dictionary object containing the data.
run() - Method in class org.apache.felix.cm.impl.UpdateThread
 

S

ServiceReference<T> - Interface in org.osgi.framework
A reference to a service.
setBundleLocation(String) - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
start(BundleContext) - Method in class org.apache.felix.cm.impl.ConfigurationManager
 
stop(BundleContext) - Method in class org.apache.felix.cm.impl.ConfigurationManager
 
store(String, Dictionary) - Method in class org.apache.felix.cm.file.FilePersistenceManager
Stores the contents of the Dictionary in a file denoted by the given identifier.
store(String, Dictionary) - Method in interface org.apache.felix.cm.PersistenceManager
Stores the Dictionary under the given pid.

T

TOKEN_ARR_CLOS - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_ARR_OPEN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_COMMA - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_EQ - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_NAME - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_PRIMITIVE_BOOLEAN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_PRIMITIVE_BYTE - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_PRIMITIVE_CHAR - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_PRIMITIVE_DOUBLE - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_PRIMITIVE_FLOAT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_PRIMITIVE_INT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_PRIMITIVE_LONG - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_PRIMITIVE_SHORT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_BOOLEAN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_BYTE - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_CHARACTER - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_DOUBLE - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_FLOAT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_INTEGER - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_LONG - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_SHORT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_SIMPLE_STRING - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_VAL_CLOS - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_VAL_OPEN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_VEC_CLOS - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
TOKEN_VEC_OPEN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
toString() - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
type2Code - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 

U

update() - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
update(Dictionary) - Method in class org.apache.felix.cm.impl.ConfigurationAdapter
 
UpdateThread - Class in org.apache.felix.cm.impl
The UpdateThread is the thread used to update managed services and managed service factories as well as to send configuration events.
UpdateThread(ConfigurationManager, ThreadGroup, String) - Constructor for class org.apache.felix.cm.impl.UpdateThread
 

W

write(OutputStream, Dictionary) - Static method in class org.apache.felix.cm.file.ConfigurationHandler
Writes the configuration data from the Dictionary to the given OutputStream.
B C D E F G H I L O P R S T U W 
Skip navigation links

Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.