[jboss-as7-dev] what is jboss.api=private exactly?

Brian Stansberry brian.stansberry at redhat.com
Tue Dec 18 12:05:56 EST 2012


On 12/18/12 10:53 AM, David M. Lloyd wrote:
> On 12/18/2012 10:37 AM, Bill Burke wrote:
>> I've been doing multiple searches trying to figure out exactly what
>> jboss.api=private in modules.xml means.
>>
>> Does it exclude/filter all classes under org.jboss.* from being imported
>> to your deployment?
>
> No, it's purely for EAP, so customers know that they're on their own if
> they import private or unsupported modules into their deployments.
>
>

Beginning at Line 73 at ModuleLoadService[1] you can see the 
significance of the jboss.api stuff. It just triggers WARN logging.

The logging is in a category used for nothing else, so once people feel 
properly warned they can restrict the category to ERROR.

[1] 
https://github.com/jbossas/jboss-as/blob/master/server/src/main/java/org/jboss/as/server/moduleservice/ModuleLoadService.java#L73 


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list