@Override
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model,
ServiceVerificationHandler verificationHandler,
List<ServiceController<?>> newControllers) throws OperationFailedException {
InjectableHandlerRegistry registry = (InjectableHandlerRegistry) context.getServiceRegistry( true )
.getRequiredService( CoreServices.INJECTABLE_HANDLER_REGISTRY ).getValue();
try {
for (InjectableHandler eachHandler : getInjectableHandlers( operation )) {
registry.addInjectableHandler( eachHandler );
}
} catch (ModuleLoadException e) {
log.error( "Unable to add injectable handlers to registry", e );
}