Package org.jboss.as.controller.OperationContext

Examples of org.jboss.as.controller.OperationContext.RollbackHandler


            execute(context, operation, name, logContextConfiguration);
            if (context.getProcessType().isServer()) {
                addCommitStep(context, configurationPersistence);
                // Add rollback handler in case rollback is invoked before a commit step is invoked
                context.completeStep(new RollbackHandler() {
                    @Override
                    public void handleRollback(final OperationContext context, final ModelNode operation) {
                        configurationPersistence.rollback();
                    }
                });
View Full Code Here

TOP

Related Classes of org.jboss.as.controller.OperationContext.RollbackHandler

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.