Examples of OperationValidator


Examples of org.jboss.as.controller.operations.validation.OperationValidator

    @Override
    protected boolean boot(List<ModelNode> bootOperations, boolean rollbackOnRuntimeFailure) throws ConfigurationPersistenceException {
        try {
            mainExtension.initialize(extensionRegistry.getExtensionContext("Test"));
            if (validateOps) {
                new OperationValidator(rootRegistration).validateOperations(bootOperations);
            }
            bootSuccess = super.boot(persister.getBootOperations(), rollbackOnRuntimeFailure);
            return bootSuccess;
        } catch (Exception e) {
            error = e;
View Full Code Here

Examples of org.jboss.as.controller.operations.validation.OperationValidator

    @Override
    protected boolean boot(List<ModelNode> bootOperations, boolean rollbackOnRuntimeFailure) throws ConfigurationPersistenceException {
        try {
            preBoot(bootOperations, rollbackOnRuntimeFailure);
            if (validateOps) {
                new OperationValidator(rootRegistration).validateOperations(bootOperations);
            }
            bootSuccess = super.boot(persister.getBootOperations(), rollbackOnRuntimeFailure);
            return bootSuccess;
        } catch (Exception e) {
            error = e;
View Full Code Here

Examples of org.jboss.as.controller.operations.validation.OperationValidator

        @Override
        protected boolean boot(List<ModelNode> bootOperations, boolean rollbackOnRuntimeFailure) throws ConfigurationPersistenceException {
            try {
                if (validateOps) {
                    new OperationValidator(rootRegistration).validateOperations(bootOperations);
                }
                return super.boot(persister.bootOperations, rollbackOnRuntimeFailure);
            } catch (Exception e) {
                error = e;
            } catch (Throwable t) {
View Full Code Here

Examples of org.jboss.as.controller.operations.validation.OperationValidator

        //sharedState = svc.state;
        svc.latch.await();
        ModelController controller = svc.getValue();
        processState.setRunning();

        KernelServices kernelServices = new KernelServices(container, controller, persister, new OperationValidator(svc.rootRegistration),mainSubsystemName);
        this.kernelServices.add(kernelServices);
        if (svc.error != null) {
            throw svc.error;
        }
View Full Code Here

Examples of org.jboss.as.controller.operations.validation.OperationValidator

        //sharedState = svc.state;
        svc.waitForSetup();
        //processState.setRunning();

        KernelServicesImpl kernelServices = new KernelServicesImpl(container, svc, persister, svc.getRootRegistration(),
                new OperationValidator(svc.getRootRegistration()), mainSubsystemName, controllerExtensionRegistry, legacyModelVersion, svc.isSuccessfulBoot(), svc.getBootError(), registerTransformers);

        return kernelServices;
    }
View Full Code Here

Examples of org.jboss.as.controller.operations.validation.OperationValidator

        svc.waitForSetup();
        //processState.setRunning();

        AbstractKernelServicesImpl kernelServices = legacyModelVersion == null ?
                new MainKernelServicesImpl(container, svc, persister, svc.getRootRegistration(),
                        new OperationValidator(svc.getRootRegistration()), legacyModelVersion, svc.isSuccessfulBoot(), svc.getBootError(), extensionRegistry) :
                            new LegacyKernelServicesImpl(container, svc, persister, svc.getRootRegistration(),
                                    new OperationValidator(svc.getRootRegistration()), legacyModelVersion, svc.isSuccessfulBoot(), svc.getBootError(), extensionRegistry, ContentRepository.Factory.create(repositoryFile));

        return kernelServices;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.operation.OperationValidator

        firePropertyChange(FUNCTION_CHAIN, old, Lists.newArrayList(functionIds));
    }

    @Override
    protected void validateOtherPropertiesThanTheName(ValidationMessageCollector collector) {
        OperationValidator opValidator = new OperationValidator(this, collector);
        opValidator.validatePipeline();
        opValidator.validateChunkingParameter();
        opValidator.validateSource();
        opValidator.validateOperationChains();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.