@Services(provides = @ProvideService(ServletService.class))
public class Activator extends BaseActivator {
@Override
protected void doStart() throws Exception {
ServletEventHandler servletEventHandler = new ServletEventHandler();
register(ServletListener.class, servletEventHandler);
ServletServiceImpl servletService = new ServletServiceImpl(servletEventHandler);
register(ServletService.class, servletService);