@Override public AddRawServicePhase defineService( final Service service, final String path, final ServiceBindingProvider provider) { final ServiceBuilder builder = defineService(service, path); provider.configureService(builder); builder.addService(); return this; }
@Override public AddServiceFromContextPhase defineServiceFromContext( final String ctxName, final Class<? extends Service> serviceType, final String path, final boolean bindPrefix, final ContextBasedServiceBindingProvider provider) { final Service service = ctx.getBean(ctxName, serviceType); final ServiceBuilder builder = new ServiceBuilder(service, path, bindPrefix); provider.configureService(builder); builder.addService(); return this; }