org.rhq.plugins.apache.augeas.mappingImpl
Class MappingDirectivePerMapIndex

java.lang.Object
  extended by org.rhq.rhqtransform.impl.AugeasToConfigurationSimple
      extended by org.rhq.plugins.apache.augeas.mappingImpl.MappingDirectivePerMap
          extended by org.rhq.plugins.apache.augeas.mappingImpl.MappingDirectivePerMapIndex
All Implemented Interfaces:
AugeasToConfiguration

public class MappingDirectivePerMapIndex
extends MappingDirectivePerMap

A mapping strategy similar to MappingDirectivePerMap. In addition to base class, the map definition is checked for a property called ApacheServerComponent.AUXILIARY_INDEX_PROP that is supposed to contain the index of the directive inside the configuration file and if found the property is set the appropriate value.

Author:
Lukas Krejci

Field Summary
 
Fields inherited from class org.rhq.rhqtransform.impl.AugeasToConfigurationSimple
nameMap, tree
 
Constructor Summary
MappingDirectivePerMapIndex()
           
 
Method Summary
 org.rhq.core.domain.configuration.PropertyMap createPropertyMap(org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap, AugeasNode node)
           
 
Methods inherited from class org.rhq.plugins.apache.augeas.mappingImpl.MappingDirectivePerMap
createPropertyList
 
Methods inherited from class org.rhq.rhqtransform.impl.AugeasToConfigurationSimple
createPropertySimple, loadProperty, loadResourceConfiguration, setNameMap, setTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingDirectivePerMapIndex

public MappingDirectivePerMapIndex()
Method Detail

createPropertyMap

public org.rhq.core.domain.configuration.PropertyMap createPropertyMap(org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap,
                                                                       AugeasNode node)
                                                                throws AugeasRhqException
Specified by:
createPropertyMap in interface AugeasToConfiguration
Overrides:
createPropertyMap in class MappingDirectivePerMap
Throws:
AugeasRhqException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.