public void unconfigure(MuleContext muleContext) { registry.dispose(); muleContext.removeRegistry(registry); registry = null; configured = false; }