org.compass.annotations.config
Class CompassAnnotationsConfiguration
java.lang.Object
org.compass.core.config.CompassConfiguration
org.compass.annotations.config.CompassAnnotationsConfiguration
public class CompassAnnotationsConfiguration
- extends CompassConfiguration
A specialized Compass configuration that can handle classes that have
search annotations. Allows for integration with other xml mappings
(annotations can extend contracts defined in xml files), and also provides
the ability to override annotations definition by having a mapping file
matching the class with cpm.ann.xml suffix. If the annotated
class also have a cpm.xml mapping definitions, both mappings
will be joined, with the cpm.xml read first.
- Author:
- kimchy
| Methods inherited from class org.compass.core.config.CompassConfiguration |
addClass, addDirectory, addFile, addFile, addInputStream, addJar, addMappingResover, addPackage, addResource, addResource, addResourceMapping, addURL, buildCompass, configure, configure, configure, configure, getSettings, registerConverter, setConnection, setSetting, tryAddClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompassAnnotationsConfiguration
public CompassAnnotationsConfiguration()
addMappingBindings
protected void addMappingBindings(CompassMappingBinding mappingBinding)
- Overrides:
addMappingBindings in class CompassConfiguration
registerExtraConverters
protected void registerExtraConverters(ConverterLookup converterLookup)
- Overrides:
registerExtraConverters in class CompassConfiguration
Copyright (c) 2004-2006 The Compass Project.