use of in.erail.glue.annotation.StartService in project api-framework by vinscom.
the class SockJSHandlerInstance method start.
@StartService
public void start() {
// Eventbus handle
SockJSHandlerOptions sockJSHandlerOptions = (new SockJSHandlerOptions()).addDisabledTransport(Transport.EVENT_SOURCE.toString()).addDisabledTransport(Transport.HTML_FILE.toString()).addDisabledTransport(Transport.JSON_P.toString()).addDisabledTransport(Transport.XHR.toString()).setInsertJSESSIONID(false);
mSockJSHandler = SockJSHandler.create(getVertx(), sockJSHandlerOptions).bridge(getBridgeOptions(), getBridgeEventHandler());
}
use of in.erail.glue.annotation.StartService in project api-framework by vinscom.
the class OpenAPI3RouteBuilder method start.
@StartService
public void start() {
getServices().getServices().stream().forEach((api) -> {
RESTService service = (RESTService) api;
getMetricTimers().put(service.getServiceUniqueId(), getMetricRegistry().timer("api.framework.service." + service.getServiceUniqueId()));
});
}
Aggregations