Package com.sun.appserv.management.deploy

Examples of com.sun.appserv.management.deploy.DeploymentSourceImpl.asMap()


    public void
  testDeploymentSourceFromMap()
    throws IOException
  {
    final DeploymentSourceImpl  ds  = createDeploymentSource();
    final Map<String,Serializable>  data  = ds.asMap();
   
    final DeploymentSourceImpl ds2  = new DeploymentSourceImpl( data );
   
    assert( ds2.equals( ds ) );
    assert( ds.equals( ds2 ) );
View Full Code Here


                    }

                    endTime = System.currentTimeMillis();

                    deplMgr.startDeploy(deployActionID, archiveSource.asMap(),
                        planSource == null ? null : planSource.asMap(),
                        dupOptions);
                }
                _logger.log(Level.FINE,
                    "time in upload: " + (endTime-startTime));
            } else {
View Full Code Here

                }
                DeploymentSourceImpl archive = new DeploymentSourceImpl(deployArchive.getURI().getPath(), true,
                                                    new String[1], new String[1], new String[1], new HashMap());
                // we do not support deployment plan for directory deployment
                // currently
                deplMgr.startDeploy(deployActionID, archive.asMap(), null, dupOptions);
            }

            // if deployActionID is still null, then there is some failure - report this and die
            if(deployActionID == null) {
                setupForAbnormalExit(localStrings.getString("enterprise.deployment.client.no_deployment_id"), domain);
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.