dev@glassfish.java.net

Re: com.sun.appserv.server.LifeCycleListener in Maven repository?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 28 Sep 2007 10:35:44 -0700

Apparently our build puts it into both appserv-rt.jar AND the
(public) appserv-ext.jar.

Use appserv-ext.jar--that's our public jar file.

Lloyd

On Sep 28, 2007, at 10:28 AM, vince kraemer wrote:

> That seems to be the case. There is a whole chapter in the 9.1
> Developer's Guide for it...
> http://docs.sun.com/app/docs/doc/819-3672/beamc?a=view
>
> vbk
>
> Frank Kieviet wrote:
>> Agreed, but isn't the LifeCycleListener a public interface?
>>
>>
>>> -----Original Message-----
>>> From: Lloyd.Chambers_at_Sun.COM [mailto:Lloyd.Chambers_at_Sun.COM]
>>> Sent: Friday, September 28, 2007 10:01
>>> To: dev_at_glassfish.dev.java.net
>>> Subject: Re: com.sun.appserv.server.LifeCycleListener in Maven
>>> repository?
>>>
>>> Frank,
>>>
>>> You should not be using any non-public interfaces. You should
>>> definitely not use appserv-rt-.jar; everything in there is
>>> considered
>>> PRIVATE, not to be used.
>>>
>>> Lloyd
>>>
>>> On Sep 27, 2007, at 10:27 AM, Frank Kieviet wrote:
>>>
>>>
>>>> The reason I asked is so that I can build a module that depends on
>>>> this
>>>> interface without having to check in appserv-rt.jar or introduce a
>>>> dependency of my build on an external installed component. Looks
>>>> like I
>>>> should put a stripped down version of appserv-rt.jar along with my
>>>> project
>>>> in CVS.
>>>>
>>>> Frank
>>>>
>>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>