Category Archives: Eclipse

All Eclipse related posts

OSGi Event Admin – Publish & Subscribe

In this blog post I want to write about the publish & subscribe mechanism in OSGi, provided via the OSGi Event Admin Service. Of course I will show this in combination with OSGi Declarative Services, because this is the technology … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 2 Comments

Access OSGi Services via web interface

In this blog post I want to share a simple approach to make OSGi services available via web interface. I will show a simple approach that includes the following: Embedding a Jetty  Webserver in an OSGi application Registering a Servlet … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 5 Comments

OSGi Declarative Services news in Eclipse Oxygen

With this blog post I want to share my excitement about the OSGi DS related news that are coming with Eclipse Oxygen. I want to use this blog post to inform about the new features and also the changes you … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 1 Comment

Control OSGi DS Component Instances via Configuration Admin

While trying to clean up the OSGi services in the Eclipse Platform Runtime I came across the fact that singleton service instances are not always feasible. For example the fact that the localization is done on application level does not work … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 1 Comment

Control OSGi DS Component Instances

I recently came across some use cases where a more fine grained control is needed for component instance creation. I spent some time in investigating how this is done with OSGi Declarative Services in detail. It turned out that it … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | 2 Comments

Dependency injection for Eclipse 3.x views available for Eclipse 4.7 M3

You can now use dependency injection (di) in your Eclipse 3.x. views.You can enable this for a view via the new inject flag in the org.eclipse.ui.views extension. public class SampleView extends ViewPart { @Inject IWorkbench workbench; private TableViewer viewer; @Override … Continue reading

Posted in Eclipse, Lars Vogel | Comments Off on Dependency injection for Eclipse 3.x views available for Eclipse 4.7 M3

Configuring OSGi Declarative Services

In my blog post about Getting Started with OSGi Declarative Services I provided an introduction to OSGi declarative services. How to create them, how they behave at runtime, how to reference other services, and so on. But I left out … Continue reading

Posted in Dirk Fauth, Eclipse, OSGi, Other | 9 Comments

OSGi Component Testing

In my last blog post I talked about Getting Started with OSGi Declarative Services. In this blog post I want to show how to test OSGi service components. Unit testing / “white-box testing” The first approach for testing components is … Continue reading

Posted in Dirk Fauth, Eclipse, Java, OSGi | Comments Off on OSGi Component Testing

Getting Started with OSGi Declarative Services

In the last weeks I worked intensively on getting a deeper knowledge in OSGi declarative services. I use them for a while with Eclipse 4, but never had a deep understanding of everything. Well, basically it is not that complicated at … Continue reading

Posted in Dirk Fauth, Eclipse, OSGi | 4 Comments

Joining the Eclipse Project Management Committee

I’m honored to join the Eclipse Project Management Committee (PMC) for the Eclipse Top-Level Project. See Eclipse project charter for their responsibilities. As Eclipse committer and project lead for platform UI and e4 my main goals are: Attract and win … Continue reading

Posted in Eclipse, Lars Vogel | Comments Off on Joining the Eclipse Project Management Committee