Package org.jboss.as.standalone.client.api.deployment

Examples of org.jboss.as.standalone.client.api.deployment.ServerDeploymentPlanResult


                        }
                    }
                    Future<ServerDeploymentPlanResult> future = deploymentManager.execute(plan);

                    try {
                        ServerDeploymentPlanResult result = future.get(60, TimeUnit.SECONDS);
                        // FIXME deal with result
                    } catch (TimeoutException e) {
                        // This could be a WARN but deployments could validly take over 60 seconds
                        log.infof("Deployment plan %s did not complete within 60 seconds. Resuming scanning for deployment changes.", plan.getId());
                    }
View Full Code Here


        @Override
        protected final ServerDeploymentPlanResult receiveResponse(final InputStream input) throws IOException {
            final Unmarshaller unmarshaller = getUnmarshaller();
            unmarshaller.start(createByteInput(input));
            expectHeader(unmarshaller, StandaloneClientProtocol.PARAM_DEPLOYMENT_PLAN_RESULT);
            final ServerDeploymentPlanResult result = unmarshal(unmarshaller, ServerDeploymentPlanResult.class);
            unmarshaller.finish();
            return result;
        }
View Full Code Here

TOP

Related Classes of org.jboss.as.standalone.client.api.deployment.ServerDeploymentPlanResult

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.