org.apache.felix.jmood.compendium
Interface ConfigAdminManagerMBean

All Known Implementing Classes:
ConfigAdminManager

public interface ConfigAdminManagerMBean


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

Method Detail

listConfigurations

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

getConfiguration

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

getConfiguration

String getConfiguration(String pid,
                        String location)
                        throws 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:
Exception
See Also:
getConfiguration(java.lang.String, java.lang.String)

createFactoryConfiguration

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

createFactoryConfiguration

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

deleteConfigurations

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

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

removePropertyFromConfigurations

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

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

addPropertyToConfigurations

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

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

refresh

void refresh()
             throws Exception
Throws:
Exception

isAvailable

boolean isAvailable()
                    throws Exception
Throws:
Exception


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.