Package org.jboss.as.host.controller.mgmt

Examples of org.jboss.as.host.controller.mgmt.TransformingProxyController$Factory


        final Map<String, AsyncFuture<ModelNode>> finalResults = new HashMap<String, AsyncFuture<ModelNode>>();
        final HostControllerUpdateTask.ProxyOperationListener listener = new HostControllerUpdateTask.ProxyOperationListener();
        for (Map.Entry<String, ProxyController> entry : hostProxies.entrySet()) {
            // Create the proxy task
            final String host = entry.getKey();
            final TransformingProxyController proxyController = (TransformingProxyController) entry.getValue();
            final HostControllerUpdateTask task = new HostControllerUpdateTask(host, operation.clone(), context, proxyController);
            // Execute the operation on the remote host
            final AsyncFuture<ModelNode> finalResult = task.execute(listener);
            finalResults.put(host, finalResult);
        }
View Full Code Here


                                HOST_CONTROLLER_LOGGER.tracef("No proxy for %s", server);
                            }
                            return false;
                        }
                    }
                    final TransformingProxyController remoteProxyController = (TransformingProxyController) proxy;
                    final ModelNode transformedOperation = remoteProxyController.getTransformers().transformOperation(Transformers.Factory.getTransformationContext(context), original);
                    final TransactionalProtocolClient client = remoteProxyController.getProtocolClient();
                    return executeOperation(listener, client, server, transformedOperation);
                }
            };
            RolloutPlanController rolloutPlanController = new RolloutPlanController(opsByGroup, rolloutPlan, domainOperationContext, taskExecutor, executorService);
            RolloutPlanController.Result planResult = rolloutPlanController.execute();
View Full Code Here

TOP

Related Classes of org.jboss.as.host.controller.mgmt.TransformingProxyController$Factory

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.