C D E F G H I L M N O P R S T U W 

C

CM_DELETED - Static variable in class org.osgi.service.cm.ConfigurationEvent
A Configuration has been deleted.
CM_RANKING - Static variable in interface org.osgi.service.cm.ConfigurationPlugin
A service property to specify the order in which plugins are invoked.
CM_TARGET - Static variable in interface org.osgi.service.cm.ConfigurationPlugin
A service property to limit the Managed Service or Managed Service Factory configuration dictionaries a Configuration Plugin service receives.
CM_UPDATED - Static variable in class org.osgi.service.cm.ConfigurationEvent
A Configuration has been updated.
code2Type - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
Configuration - Interface in org.osgi.service.cm
The configuration information for a ManagedService or ManagedServiceFactory object.
ConfigurationAdmin - Interface in org.osgi.service.cm
Service for administering configuration data.
ConfigurationEvent - Class in org.osgi.service.cm
A Configuration Event.
ConfigurationEvent(ServiceReference, int, String, String) - Constructor for class org.osgi.service.cm.ConfigurationEvent
Constructs a ConfigurationEvent object from the given ServiceReference object, event type, and pids.
configurationEvent(ConfigurationEvent) - Method in interface org.osgi.service.cm.ConfigurationListener
Receives notification of a Configuration that has changed.
ConfigurationException - Exception in org.osgi.service.cm
An Exception class to inform the Configuration Admin service of problems with configuration data.
ConfigurationException(String, String) - Constructor for exception org.osgi.service.cm.ConfigurationException
Create a ConfigurationException object.
ConfigurationException(String, String, Throwable) - Constructor for exception org.osgi.service.cm.ConfigurationException
Create a ConfigurationException object.
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.
ConfigurationListener - Interface in org.osgi.service.cm
Listener for Configuration Events.
ConfigurationPermission - Class in org.osgi.service.cm
Indicates a bundle's authority to configure bundles.
ConfigurationPermission(String, String) - Constructor for class org.osgi.service.cm.ConfigurationPermission
Create a new ConfigurationPermission.
ConfigurationPlugin - Interface in org.osgi.service.cm
A service interface for processing configuration dictionary before the update.
CONFIGURE - Static variable in class org.osgi.service.cm.ConfigurationPermission
The action string configure.
createFactoryConfiguration(String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
Create a new factory Configuration object with a new PID.
createFactoryConfiguration(String, String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
Create a new factory Configuration object with a new PID.
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(String) - Method in interface org.apache.felix.cm.PersistenceManager
Removes the Dictionary for the given pid.
delete() - Method in interface org.osgi.service.cm.Configuration
Delete this Configuration object.
deleted(String) - Method in interface org.osgi.service.cm.ManagedServiceFactory
Remove a factory instance.

E

ENCODING - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 
equals(Object) - Method in interface org.osgi.service.cm.Configuration
Equality is defined to have equal PIDs Two Configuration objects are equal when their PIDs are equal.
equals(Object) - Method in class org.osgi.service.cm.ConfigurationPermission
Determines the equality of two ConfigurationPermission objects.
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

getActions() - Method in class org.osgi.service.cm.ConfigurationPermission
Returns the canonical string representation of the ConfigurationPermission actions.
getBundleLocation() - Method in interface org.osgi.service.cm.Configuration
Get the bundle location.
getCause() - Method in exception org.osgi.service.cm.ConfigurationException
Returns the cause of this exception or null if no cause was set.
getConfiguration(String, String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
Get an existing Configuration object from the persistent store, or create a new Configuration object.
getConfiguration(String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
Get an existing or new Configuration object from the persistent store.
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 interface org.osgi.service.cm.Configuration
For a factory configuration return the PID of the corresponding Managed Service Factory, else return null.
getFactoryPid() - Method in class org.osgi.service.cm.ConfigurationEvent
Returns the factory pid of the associated configuration.
getLocation() - Method in class org.apache.felix.cm.file.FilePersistenceManager
Returns the directory in which the configuration files are written as a File object.
getName() - Method in interface org.osgi.service.cm.ManagedServiceFactory
Return a descriptive name of this factory.
getPid() - Method in interface org.osgi.service.cm.Configuration
Get the PID for this Configuration object.
getPid() - Method in class org.osgi.service.cm.ConfigurationEvent
Returns the pid of the associated configuration.
getProperties() - Method in interface org.osgi.service.cm.Configuration
Return the properties of this Configuration object.
getProperty() - Method in exception org.osgi.service.cm.ConfigurationException
Return the property name that caused the failure or null.
getReason() - Method in exception org.osgi.service.cm.ConfigurationException
Return the reason for this exception.
getReference() - Method in class org.osgi.service.cm.ConfigurationEvent
Return the ServiceReference object of the Configuration Admin service that created this event.
getType() - Method in class org.osgi.service.cm.ConfigurationEvent
Return the type of this event.

H

hashCode() - Method in interface org.osgi.service.cm.Configuration
Hash code is based on PID.
hashCode() - Method in class org.osgi.service.cm.ConfigurationPermission
Returns the hash code value for this object.

I

implies(Permission) - Method in class org.osgi.service.cm.ConfigurationPermission
Determines if a ConfigurationPermission object "implies" the specified permission.
initCause(Throwable) - Method in exception org.osgi.service.cm.ConfigurationException
Initializes the cause of this exception to the specified value.

L

listConfigurations(String) - Method in interface org.osgi.service.cm.ConfigurationAdmin
List the current Configuration objects which match the filter.
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.

M

ManagedService - Interface in org.osgi.service.cm
A service that can receive configuration data from a Configuration Admin service.
ManagedServiceFactory - Interface in org.osgi.service.cm
Manage multiple service instances.
modifyConfiguration(ServiceReference, Dictionary) - Method in interface org.osgi.service.cm.ConfigurationPlugin
View and possibly modify the a set of configuration properties before they are sent to the Managed Service or the Managed Service Factory.

N

newPermissionCollection() - Method in class org.osgi.service.cm.ConfigurationPermission
Returns a new PermissionCollection object suitable for storing ConfigurationPermissions.

O

org.apache.felix.cm - package org.apache.felix.cm
 
org.apache.felix.cm.file - package org.apache.felix.cm.file
 
org.osgi.service.cm - package org.osgi.service.cm
Configuration Admin Package Version 1.2.

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.

S

SERVICE_BUNDLELOCATION - Static variable in interface org.osgi.service.cm.ConfigurationAdmin
Configuration property naming the location of the bundle that is associated with a a Configuration object.
SERVICE_FACTORYPID - Static variable in interface org.osgi.service.cm.ConfigurationAdmin
Configuration property naming the Factory PID in the configuration dictionary.
setBundleLocation(String) - Method in interface org.osgi.service.cm.Configuration
Bind this Configuration object to the specified bundle location.
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
 
type2Code - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
 

U

update(Dictionary) - Method in interface org.osgi.service.cm.Configuration
Update the properties of this Configuration object.
update() - Method in interface org.osgi.service.cm.Configuration
Update the Configuration object with the current properties.
updated(Dictionary) - Method in interface org.osgi.service.cm.ManagedService
Update the configuration for a Managed Service.
updated(String, Dictionary) - Method in interface org.osgi.service.cm.ManagedServiceFactory
Create a new instance, or update the configuration of an existing instance.

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.
C D E F G H I L M N O P R S T U W 

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