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

Dimitris Andreadis dandread at redhat.com
Mon Oct 17 10:48:57 EDT 2011


Thanx everyone!

On 17/10/2011 17:41, Jason T. Greene wrote:
> You could break the cyclic dep if hibernate supported using a separate
> classloader to load an extension.
>
> On 10/17/11 9:04 AM, Scott Marlow wrote:
>> 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
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dimitris Andreadis
Software Engineering Manager
JBoss Application Server
by Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx

http://dandreadis.blogspot.com/


More information about the jboss-as7-dev mailing list