public interface MyWellDefinedBoundary { ... }
Edit: I should say this is what OSGi was good for. Now it's been replaced, its need is greater than ever.