org.apache.felix.jmood.compendium
Interface ConfigAdminManagerMBean

All Known Implementing Classes:
ConfigAdminManager

public interface ConfigAdminManagerMBean


Method Summary
 void addPropertyToConfigurations(java.lang.String filter, java.lang.String name, java.lang.String value, java.lang.String type)
          Updates or adds a property to configurations selected by an LDAP expression Arrays and vectors not supported
 java.lang.String createFactoryConfiguration(java.lang.String pid)
           
 java.lang.String createFactoryConfiguration(java.lang.String pid, java.lang.String location)
           
 void deleteConfigurations(java.lang.String filter)
          Delete the configurations identified by the LDAP filter
 java.lang.String getConfiguration(java.lang.String pid)
           
 java.lang.String getConfiguration(java.lang.String pid, java.lang.String location)
          This method gets a configuration object related to a pid and a bundle location
 boolean isAvailable()
           
 java.lang.String[] listConfigurations(java.lang.String filter)
           
 void refresh()
           
 void removePropertyFromConfigurations(java.lang.String filter, java.lang.String name)
          Removes a property from all the configurations selected by an LDAP expression
 

Method Detail

listConfigurations

java.lang.String[] listConfigurations(java.lang.String filter)
                                      throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
listConfigurations(java.lang.String)

getConfiguration

java.lang.String getConfiguration(java.lang.String pid)
                                  throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
getConfiguration(java.lang.String)

getConfiguration

java.lang.String getConfiguration(java.lang.String pid,
                                  java.lang.String location)
                                  throws java.lang.Exception
This method gets a configuration object related to a pid and a bundle location

Parameters:
pid - Persistent ID
location - Bundle location of the service
Throws:
java.lang.Exception
See Also:
getConfiguration(java.lang.String, java.lang.String)

createFactoryConfiguration

java.lang.String createFactoryConfiguration(java.lang.String pid)
                                            throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
createFactoryConfiguration(java.lang.String)

createFactoryConfiguration

java.lang.String createFactoryConfiguration(java.lang.String pid,
                                            java.lang.String location)
                                            throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
createFactoryConfiguration(java.lang.String, java.lang.String)

deleteConfigurations

void deleteConfigurations(java.lang.String filter)
                          throws java.lang.Exception
Delete the configurations identified by the LDAP filter

Parameters:
filter - LDAP String representing the configurations that want to be deleted
Throws:
java.lang.Exception
See Also:
deleteConfigurations(java.lang.String)

removePropertyFromConfigurations

void removePropertyFromConfigurations(java.lang.String filter,
                                      java.lang.String name)
                                      throws java.lang.Exception
Removes a property from all the configurations selected by an LDAP expression

Throws:
java.lang.Exception
See Also:
removePropertyFromConfigurations(java.lang.String, java.lang.String)

addPropertyToConfigurations

void addPropertyToConfigurations(java.lang.String filter,
                                 java.lang.String name,
                                 java.lang.String value,
                                 java.lang.String type)
                                 throws java.lang.Exception
Updates or adds a property to configurations selected by an LDAP expression Arrays and vectors not supported

Throws:
java.lang.Exception
See Also:
addPropertyToConfigurations(java.lang.String, java.lang.String, java.lang.String, java.lang.String)

refresh

void refresh()
             throws java.lang.Exception
Throws:
java.lang.Exception

isAvailable

boolean isAvailable()
                    throws java.lang.Exception
Throws:
java.lang.Exception