Package org.jboss.as.controller

Examples of org.jboss.as.controller.BasicOperationResult


        subModel.get(DEPLOYMENT);

        final ModelNode compensatingOperation = Util.getResourceRemoveOperation(operation.get(OP_ADDR));

        resultHandler.handleResultComplete();
        return new BasicOperationResult(compensatingOperation);
    }
View Full Code Here


                }
            });
        } else {
            resultHandler.handleResultComplete();
        }
        return new BasicOperationResult(compensating);
    }
View Full Code Here

            });

        } else {
            resultHandler.handleResultComplete();
        }
        return new BasicOperationResult(compensating);
    }
View Full Code Here

        } else {
            resultHandler.handleResultComplete();
        }
        // Compensating is remove
        final ModelNode compensating = Util.getResourceRemoveOperation(params.getAddress());
        return new BasicOperationResult(compensating);
    }
View Full Code Here

            resultHandler.handleResultComplete();
        }

        // Compensating is remove
        final ModelNode compensating = Util.getResourceRemoveOperation(params.getAddress());
        return new BasicOperationResult(compensating);
    }
View Full Code Here

            resultHandler.handleResultComplete();
        }

        final ModelNode compensatingOp = operation.clone();
        compensatingOp.get(VALUE).set(oldValue);
        return new BasicOperationResult(compensatingOp);
    }
View Full Code Here

            operation.remove(INPUT_STREAM_INDEX);
        }

        resultHandler.handleResultComplete();

        return new BasicOperationResult(compensatingOp);
    }
View Full Code Here

        else {
            throw createFailureException("No deployment content with hash %s is available in the deployment content repository.", HashUtil.bytesToHexString(hash));
        }

        resultHandler.handleResultComplete();
        return new BasicOperationResult(Util.getResourceRemoveOperation(operation.get(OP_ADDR)));
    }
View Full Code Here

            addThreadFactories(result, model);
            addUnboundedQueueThreadPools(result, model);

            resultHandler.handleResultFragment(Util.NO_LOCATION, result);
            resultHandler.handleResultComplete();
            return new BasicOperationResult();
        }
View Full Code Here

        } else {
            resultHandler.handleResultComplete();
        }
        // Compensating is remove
        final ModelNode compensating = Util.getResourceRemoveOperation(opAddr);
        return new BasicOperationResult(compensating);
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.controller.BasicOperationResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.