@Override public void removeContextListener(IContextListener contextListener) { final LegacyContextListenerWrapper wrapper = new LegacyContextListenerWrapper( contextListener, contextManager, this); wrappedContext.removeContextListener(wrapper); contextManager.removeContextManagerListener(wrapper); }