Package com.seventytwomiles.architecturerules.services

Assert that rules are not violated and that cyclic dependencies do not exist.

See:
          Description

Interface Summary
CyclicRedundancyService Interface for the CyclicRedundancyService to provide a contract for implementations to adhere to.
RulesService Interface for RuleService implementations to adhere to.
 

Class Summary
CyclicRedundancyServiceImpl Checks for cyclic redundancy among application packages in the source folders.
RulesServiceImpl Drives the tests by reading the configuration then asserting each defined Rule.
 

Package com.seventytwomiles.architecturerules.services Description

Assert that rules are not violated and that cyclic dependencies do not exist.

Cyclic Redundancy exception message resembles

    5 cyclic dependencies found:

        -- com.seventytwomiles.architecturerules.domain
        |  | (depends on one or more of)
        |  |
        |  |-- com.seventytwomiles.architecturerules.exceptions
        |       com.seventytwomiles.architecturerules.exceptions.NoPackagesFoundExceptionTest: [com.seventytwomiles.architecturerules.domain.SourceDirectory]
        |       com.seventytwomiles.architecturerules.exceptions.SourceNotFoundExceptionTest: [com.seventytwomiles.architecturerules.domain.SourceDirectory]
        |       com.seventytwomiles.architecturerules.exceptions.DependencyConstraintExceptionTest: [com.seventytwomiles.architecturerules.domain.Rule]
        |       com.seventytwomiles.architecturerules.exceptions.IllegalArchitectureRuleExceptionTest: [com.seventytwomiles.architecturerules.domain.Rule]
        |
        -- test.com.seventytwomiles.services
        |  | (depends on one or more of)
        |  |
        |  |-- test.com.seventytwomiles.model
        |       test.com.seventytwomiles.model.Person: [test.com.seventytwomiles.services.PersonServiceImpl]
        |  |
        |  |-- test.com.seventytwomiles.dao.hibernate
        |       test.com.seventytwomiles.dao.hibernate.PersonDaoImpl: [test.com.seventytwomiles.services.PersonService, test.com.seventytwomiles.services.PersonServiceImpl]
        |
        -- test.com.seventytwomiles.model
        |  | (depends on one or more of)
        |  |
        |  |-- test.com.seventytwomiles.services
        |       test.com.seventytwomiles.services.PersonService: [test.com.seventytwomiles.model.Person]
        |       test.com.seventytwomiles.services.PersonServiceImpl: [test.com.seventytwomiles.model.Person]
        |
        -- com.seventytwomiles.architecturerules.exceptions
        |  | (depends on one or more of)
        |  |
        |  |-- com.seventytwomiles.architecturerules.domain
        |       com.seventytwomiles.architecturerules.domain.RuleTest: [com.seventytwomiles.architecturerules.exceptions.IllegalArchitectureRuleException]
        |       com.seventytwomiles.architecturerules.domain.Rule: [com.seventytwomiles.architecturerules.exceptions.IllegalArchitectureRuleException]
        |
        -- test.com.seventytwomiles.dao.hibernate
        |  | (depends on one or more of)
        |  |
        |  |-- test.com.seventytwomiles.services
        |       test.com.seventytwomiles.services.PersonServiceImpl: [test.com.seventytwomiles.dao.hibernate.PersonDaoImpl]
        |

More Information

Homepage
http://architecturerules.googlecode.com/svn/docs/index.html
Source
http://architecturerules.googlecode.com/svn/docs/source.html
Mailing lists
http://architecturerules.googlecode.com/svn/docs/mailing-lists.html
Javadocs for each version
http://architecturerules.googlecode.com/svn/docs/api-javadocs.html
Getting Started
http://architecturerules.googlecode.com/svn/docs/getting-started.html
Licensed under Apache License 2.0
http://www.apache.org/licenses/LICENSE-2.0



Copyright © 2007-2008. All Rights Reserved.