public static SpecifiedInterfaceRemoveHandler INSTANCE = new SpecifiedInterfaceRemoveHandler();
@Override
protected OperationResult uninstallInterface(final String name, final ModelNode criteria, final OperationContext context, final ResultHandler resultHandler, final ModelNode compensatingOp) {
if (context.getRuntimeContext() != null) {
context.getRuntimeContext().setRuntimeTask(new RuntimeTask() {
public void execute(RuntimeTaskContext context) throws OperationFailedException {
final ServiceController<?> controller = context.getServiceRegistry()
.getService(NetworkInterfaceService.JBOSS_NETWORK_INTERFACE.append(name));
if (controller != null) {
controller.addListener(new ResultHandler.ServiceRemoveListener(resultHandler));