[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Announcement: Aspects Equinox Incubator - Phase II


Peter,

>I thought I would mention and maybe do a demo on this at the
>www.oredev.se, regardding Eclipse going Server Side and other cool
>OSGi stuff.

That would be great especially as AOP will have the biggest impact on the server and it would be great to develop some demos around Eclipse Server Side.

>However, when I start the tracing demo, I would like to
>demo how to start and stop the aspect, that is, unloading the
>demo.eclipse.tracing bundle and the tracing disappears. Is that
>supported?

WRT the demo (which I put together very quickly and is not yet complete) you should think about the implementation of a tracing feature and it's configuration as two separate tasks. Not installing the tracing bundle or fragment will of course ensure there is no tracing code but if it is installed the user may, as with a traditional hand-coded approach, wish to have fine grained control over what data is produced are where it is sent. This control will depend upon the chosen tracing infrastructure e.g. Eclipse DebugOptions. If the bundle is unloaded (while Eclipse is still running) tracing logic will not be removed from the bundles that have already been loaded - this isn't hot code replace - although it will not be added to bundles that have yet to been loaded. However a more sophisticated aspect that was a lightweight front end to a tracing/logging _service_ would have the kind of flexibility you desire: if you unload the bundle that implements the service the aspect can guarantee all references are tidied up and tracing ceases. It would also allow you to load the tracing service after Eclipse has started or replace its implementation while Eclipse is running.

>Am I missing something in the setup?
No. However I would like to work with you to create a more compelling demo. When are you speaking?

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/



"Peter Neubauer" <peter@xxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

13/11/2006 13:40

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
"Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>
cc
Subject
Re: [equinox-dev] Announcement: Aspects Equinox Incubator - Phase II





Hi Mathew,
cool stuff with the Aspect deployment!

I thought I would mention and maybe do a demo on this at the
www.oredev.se, regardding Eclipse going Server Side and other cool
OSGi stuff. However, when I start the tracing demo, I would like to
demo how to start and stop the aspect, that is, unloading the
demo.eclipse.tracing bundle and the tracing disappears. Is that
supported? Am I missing something in the setup?

/peter

On 11/8/06, Matthew Webster <matthew_webster@xxxxxxxxxx> wrote:
>
> The Aspects Equinox Incubator project is pleased to announce the
> availability of Phase II. This code comprises supplements support in
> org.eclipse.osgi, new tests and Eclipse-based demos that show the power of
> the co-opt model. Please see the description of how to get started on the
> Aspects home page
> (http://www.eclipse.org/equinox/incubator/aspects/index.php).
>
> Matthew Webster
>  AOSD Project
>  Java Technology Centre, MP146
>  IBM Hursley Park, Winchester,  SO21 2JN, England
>  Telephone: +44 196 2816139 (external) 246139 (internal)
>  Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
>  http://w3.hursley.ibm.com/~websterm/
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev