org.compass.core.config.process
Class SubIndexHashMappingProcessor

java.lang.Object
  extended by org.compass.core.config.process.SubIndexHashMappingProcessor
All Implemented Interfaces:
MappingProcessor

public class SubIndexHashMappingProcessor
extends Object
implements MappingProcessor

Goes over all the ResourceMapping and if no sub index hashing is set for them, will set a ConstantSubIndexHash based on the alias name.

Author:
kimchy

Constructor Summary
SubIndexHashMappingProcessor()
           
 
Method Summary
 CompassMapping process(CompassMapping compassMapping, PropertyNamingStrategy namingStrategy, ConverterLookup converterLookup, CompassSettings settings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubIndexHashMappingProcessor

public SubIndexHashMappingProcessor()
Method Detail

process

public CompassMapping process(CompassMapping compassMapping,
                              PropertyNamingStrategy namingStrategy,
                              ConverterLookup converterLookup,
                              CompassSettings settings)
                       throws MappingException
Specified by:
process in interface MappingProcessor
Throws:
MappingException


Copyright (c) 2004-2009 The Compass Project.