org.compass.core.engine.naming
Class DefaultPropertyNamingStrategyFactory

java.lang.Object
  extended by org.compass.core.engine.naming.DefaultPropertyNamingStrategyFactory
All Implemented Interfaces:
PropertyNamingStrategyFactory

public class DefaultPropertyNamingStrategyFactory
extends Object
implements PropertyNamingStrategyFactory

A default implementation of the property naming strategy factory. Can be used to create naming strategies that has default constructor, and no initialization requirements.

Uses the CompassEnvironment.NamingStrategy.TYPE setting for the fully qualified class name of the property naming strategy. If non is set, defaults to the DefaultPropertyNamingStrategy

The CompassConfiguration creates the factory, which can be set using the CompassEnvironment.NamingStrategy.FACTORY_TYPE setting, and defaults to this class as the factory.

Author:
kimchy

Constructor Summary
DefaultPropertyNamingStrategyFactory()
           
 
Method Summary
 PropertyNamingStrategy createNamingStrategy(CompassSettings settings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyNamingStrategyFactory

public DefaultPropertyNamingStrategyFactory()
Method Detail

createNamingStrategy

public PropertyNamingStrategy createNamingStrategy(CompassSettings settings)
Specified by:
createNamingStrategy in interface PropertyNamingStrategyFactory


Copyright (c) 2004-2008 The Compass Project.