class LegacyHttpBridgeService implements EventAware {

  @AllowConcurrentEvents
  @Subscribe
  public void handle(final CapabilityEvent event) {
    if (event.getReference().context().descriptor().type().equals(LegacyUrlCapabilityDescriptor.TYPE)) {
      toggleLegacyHttpBridgeModule();
    }
  }

  @Inject public  LegacyHttpBridgeService(final MutableBeanLocator locator,
                                 final LegacyUrlEnabledHelper legacyUrlEnabledHelper);

}