class ServiceContainer implements Runnable {

    @PreDestroy
    public void stop() {
        executorService.shutdown();
        service.stop();
    }

    public  ServiceContainer(final Service service);
    public  ServiceContainer(
            final Service service,
            final ScheduledExecutorService executorService,
            final long initialDelay,
            final long period);

}