public interface RhqAugeasMapping
AugeasToConfiguration and ConfigurationToAugeas
to provide an easy default access to the main functionality to the users.
The main raison d'etre for this interface is to provide the ability to completely abstract out
the dealing with Augeas from the classes that should only deal with RHQ configuration.| Modifier and Type | Method and Description |
|---|---|
void |
updateAugeas(AugeasProxy augeasProxy,
org.rhq.core.domain.configuration.Configuration config,
org.rhq.core.domain.configuration.definition.ConfigurationDefinition configDef)
Updates the Augeas data from the RHQ configuration instance.
|
org.rhq.core.domain.configuration.Configuration |
updateConfiguration(AugeasProxy augeasProxy,
org.rhq.core.domain.configuration.definition.ConfigurationDefinition configDef)
Reads in the RHQ configuration from Augeas.
|
void updateAugeas(AugeasProxy augeasProxy, org.rhq.core.domain.configuration.Configuration config, org.rhq.core.domain.configuration.definition.ConfigurationDefinition configDef) throws AugeasRhqException
augeasProxy - the acces to Augeasconfig - the configuration to persistconfigDef - the definition of the configurationAugeasRhqExceptionorg.rhq.core.domain.configuration.Configuration updateConfiguration(AugeasProxy augeasProxy, org.rhq.core.domain.configuration.definition.ConfigurationDefinition configDef) throws AugeasRhqException
augeasProxy - the access to AugeasconfigDef - the configuration definitionAugeasRhqExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.