[jboss-as7-dev] JBoss modules definition for Envers

Magesh Kumar Bojan mbojan at redhat.com
Mon Oct 17 09:47:23 EDT 2011


> Are cyclical dependencies allowed?

Well, you can see it does allow ;), but it is a manual process to make sure we don't, as of now.

> Also, what's the service="import" clause really about? What's a service in this context?

import: The current module (me) who declares the dependency, can see the services declared in META-INF/services folder via ServiceLoader.
export: Export those above to any other modules that declares me as dependency.
none: None of the above.

Magesh


More information about the jboss-as7-dev mailing list