Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emf-dev] EMF interface instance access pattern


In EMF runtime and generated code there is a "interface instance access" pattern like:

  public interface Registry
    public static final Registry INSTANCE = new RegistryImpl();

It is good and stable. It works perfect.
However, it may look "too static" for OSGi-based approach where interface should not reference its implementation.

How would you implement it today for OSGi-oriented architecture executed by 1.8+ Java?


Back to the top