com.seventytwomiles.architecturerules.configuration.xml
Class AbstractConfigurationFactory

java.lang.Object
  extended by com.seventytwomiles.architecturerules.configuration.xml.AbstractConfigurationFactory
All Implemented Interfaces:
ConfigurationFactory
Direct Known Subclasses:
DigesterConfigurationFactory

public abstract class AbstractConfigurationFactory
extends java.lang.Object
implements ConfigurationFactory

Abstract Factory that provides common functionality for ConfigurationFactory implementations.

Author:
mikenereson
See Also:
ConfigurationFactory

Constructor Summary
AbstractConfigurationFactory()
           
 
Method Summary
 boolean doCyclicDependencyTest()
           
 java.util.Collection getRules()
          Getter for property rules.
 java.util.Collection getSources()
          Getter for property sources.
 boolean throwExceptionWhenNoPackages()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfigurationFactory

public AbstractConfigurationFactory()
Method Detail

getSources

public java.util.Collection getSources()

Getter for property sources.

Specified by:
getSources in interface ConfigurationFactory
Returns:
Value for property sources.

getRules

public java.util.Collection getRules()

Getter for property rules.

Specified by:
getRules in interface ConfigurationFactory
Returns:
Value for property rules.

throwExceptionWhenNoPackages

public boolean throwExceptionWhenNoPackages()
Specified by:
throwExceptionWhenNoPackages in interface ConfigurationFactory
Returns:
boolean true when <sources no-packages="exception">

doCyclicDependencyTest

public boolean doCyclicDependencyTest()
Specified by:
doCyclicDependencyTest in interface ConfigurationFactory
Returns:
boolean true when <cyclicalDependency test="true"/>


Copyright © 2007. All Rights Reserved.