[jboss-as7-dev] JBoss modules definition for Envers
Scott Marlow
smarlow at redhat.com
Mon Oct 17 10:04:55 EDT 2011
At the root, is the Hibernate optional dependency on Envers, that uses
Envers if present. Envers also depends on Hibernate.
On 10/17/2011 09:20 AM, Dimitris Andreadis wrote:
> Hi there,
>
> I am looking at the org.hibernate modules definition in AS7:
> -<module xmlns="urn:jboss:module:1.0" name="org.hibernate">
> ...
> -<dependencies>
> ...
> <module name="org.hibernate.envers" services="import" optional="true" />
> </dependencies>
> </module>
>
> Then at envers:
> -<module xmlns="urn:jboss:module:1.0" name="org.hibernate.envers">
> ...
> -<dependencies>
> <module name="org.hibernate" />
> ...
> </dependencies>
> </module>
>
> Are cyclical dependencies allowed?
>
> Also, what's the service="import" clause really about? What's a service in this context?
>
> From the doc:
> https://docs.jboss.org/author/display/MODULES/Module+descriptors:
> Specify whether this dependency's services* are imported and/or exported. Possible values
> are "none", "import", or "export"; defaults to "none".
>
> Thanks in advance
> /D
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
More information about the jboss-as7-dev
mailing list