Well, from your other message, your bundle imports com.aspectj.runtime, but not com.aspectj.lang. I am not sure if this is an issue or not, but it makes me wonder.

Whether a bundle is started or not, should not impact class loading and you were getting a class loading error in your other message.

-> richard

On 5/5/09 11:48 AM, Chris. A wrote:
Hello,

I am a new Felix user and wish to make use of AOP too :-)

In my case, I don't expect to use LTW =>  I recompile the sources with 1 .aj
aspect, prior to installing my "already weaved" bundle :
=>  it works fine under EQUINOX with the adequate "java -Dosgi.bundles=..."
option (saying which bundle(s) need to be started first !)
=>  but I don't manage do the same (...) with FELIX, because I don't know
what is the "equivalent" for it

Have you maybe face this need too ?  in such a case, how did you proceed ?

Thanking you for any feedback you might have on this.

Regards,
Chris.



Richard S. Hall wrote:
I think that uses Equinox-specific hooks to perform load-time weaving.
Felix does not provide any such hooking mechanism. It is possible we
will implement a similar hook because things like JPA need it too, but I
don't have a timeframe for this.

->  richard

On 4/1/09 11:22 AM, Kristian Köhler wrote:
Hi

I'd like to use Spring AOP with load-time weaving. The idea is to
deploy  application bundles and some cross-cutting concerns like (for
example) logging or transaction within an other bundle. The pointcut
defintions should also be included in the logging bundle.

Is it possible?

Thanks,
Kristian

Stuart McCulloch wrote:
2009/4/1 Kristian Köhler<[email protected]>

Hi

I want to use AOP within an OSGi based application and found "Equinox
Aspects". Is there an option to configure AOP within Felix?

what sort of AOP do you want - load-time weaving or dynamic proxies?
do you
want to use a specific AOP framework?

Thanks!
Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




Reply via email to