Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cme-dev] CME support for weaving aspects

      CME can build composed material using either AspectJ or CCC as a
composition engine. Generically, the component that uses information in the
concern model to control the behavior of the composition engine. At the
moment, AspectJ does not operate under the control of a specific builder,
but builds as part of the normal Eclipse project structure, as determined
by the weaving directives in the AspectJ source itself. And at the moment,
the only builder controlling CCC is the OpenClass builder. I would imagine
that part of the effort you describe would be writing another builder to be
available through CME.
      As you note, another part of the task you outline is generating the
aspects to compose. The choice of whether to use AspectJ or CCC as a
composition engine may depend on the form you expect these aspects to
take.- AspectJ source, AspectJ class files, Plain-Java class files. For the
first you need AspectJ and for the last you need CCC. The middle group
suggests AspectJ, but if you want to separate the pointcut specifications
and treat them as general concern definitions, some work could be done to
handle them as CCC "aspect"-style structural organization. (The current
implementation of "aspect" organization passes the source object as an
additional parameter when delegating to the advice code, rather than
constructing dynamic information about the join-point and passing it -
that's the primary content of the missing support.)
      Although CME's componentry is primarily surfaced through Eclipse
UI's, most of the component base is implemented as plain Java, and can be
run independently from Eclipse or its jvm.
                          - Bill

http://www.research.ibm.com/people/h/harrisn/

derevaun seraun ...


Karthikeyan Ponnalagu <pkarthik@xxxxxxxxxx>@eclipse.org on 02/17/2005
08:05:57 AM

Please respond to cme-dev@xxxxxxxxxxx

Sent by:    cme-dev-admin@xxxxxxxxxxx


To:    cme-dev@xxxxxxxxxxx
cc:
Subject:    [cme-dev] CME support for weaving aspects




Hi,

I have a query regarding the composition (Weaving) feature of CME.


I intend to develop a framework that will utilize the CME component support
for concern identification, which I will filter to resolve to the
interested set of pointcuts. My framework will allow the users to apply
specific advices( Depends on what the user wants to have such as
enabling/disabling logging, caching of data and which they can select from
a provided list) on these pointcuts. That means, I am intend to generate
aspects (out of these identified pointcuts and pre-written advice code).

How Can I utilize CME to enable weaving of such generated aspects to the
target application code? Is there any programmatic (API) support available
for this (Both eclipse and normal JVM based)?



Thanks & Regds
karthik






Back to the top