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

Bill Burke bburke at redhat.com
Tue Dec 18 18:34:11 EST 2012


Saw this:

http://stackoverflow.com/questions/11831119/set-json-provider-at-resteasy-on-jboss-7-1-1

Of somebody saying resteasy annotations are hidden by default.

On 12/18/2012 5:13 PM, Jason Greene wrote:
> It's being added to the EAP docs.
>
> There is an internal wiki here that we need to make public, which describes the info:
> https://docspace.corp.redhat.com/docs/DOC-105009
>
>
> On Dec 18, 2012, at 4:10 PM, Brian Stansberry <brian.stansberry at redhat.com> wrote:
>
>> Google didn't show anything for it. I didn't look at the EAP docs.
>>
>> On 12/18/12 4:03 PM, Jim Tyrrell wrote:
>>> Is this in the docs?
>>>
>>> Jim
>>>
>>> Sent from my iPad
>>>
>>> On Dec 18, 2012, at 11:06 AM, Brian Stansberry <brian.stansberry at redhat.com> wrote:
>>>
>>>> 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
>>>> _______________________________________________
>>>> jboss-as7-dev mailing list
>>>> jboss-as7-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>
>> --
>> Brian Stansberry
>> Principal Software Engineer
>> JBoss by Red Hat
>> _______________________________________________
>> 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
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the jboss-as7-dev mailing list