code: protected void registerBinder(ResourceConfig configuration) {
          configuration.register(new AbstractBinder() {
              @Override
              protected void configure() {
                  bind(Container.this).to(Container.class).proxy(false);
              }
          });
          configuration.registerInstances(new ContainerLifecycleListener() {
              @Override
              public void onStartup(org.glassfish.jersey.server.spi.Container container) {
                  SystemEventBus.publish(new StartupEvent(Container.this, application));
                  logger.trace(Messages.get("info.container.startup"));
              }
  
              @Override
              public void onReload(org.glassfish.jersey.server.spi.Container container) {
                  SystemEventBus.publish(new ReloadedEvent(Container.this, application));
                  logger.trace(Messages.get("info.container.reload"));
              }
  
              @Override
              public void onShutdown(org.glassfish.jersey.server.spi.Container container) {
                  logger.info("Container onShutdown");
                  SystemEventBus.publish(new ShutdownEvent(Container.this, application));
                  logger.trace(Messages.get("info.container.shutdown"));
              }
          });
      }
docs: <p>registerBinder.</p>
  
  @param configuration a {@link org.glassfish.jersey.server.ResourceConfig} object.
  @since 0.1.6e