@Override
protected void updateRuntime(final OperationContext context, final ServiceBuilder<Handler> serviceBuilder, final String name, final AsyncHandlerService service, final ModelNode model) throws OperationFailedException {
final List<InjectedValue<Handler>> list = new ArrayList<InjectedValue<Handler>>();
final ModelNode subhandlers = SUBHANDLERS.resolveModelAttribute(context, model);
if (subhandlers.isDefined()) {
for (final ModelNode handlerName : subhandlers.asList()) {
final InjectedValue<Handler> injectedValue = new InjectedValue<Handler>();
serviceBuilder.addDependency(LogServices.handlerName(handlerName.asString()), Handler.class, injectedValue);
list.add(injectedValue);
}
}