Announcement Announcement Module

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
Applying AOP to OSGi service Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Applying AOP to OSGi service


    is there an elegant way to apply an aspect to all OSGi services registered in an application context?

    Background: We want to use monitoring for all public methods of our OSGi services. We do _not_ want to monitor the public API of each bean created in the application context.

    We are looking for an out-out solution. That means that there should be no need to write boilerplate code/XML config/annotation for every single service. Only if a service is not to be monitored there should be a way for signalling this.

    Any ideas, suggestions, solutions?

  • #2
    Maybe org.osgi.framework.ServiceFactory?