Java EE 5 SDK

com.sun.appserv.management.deploy
Class DeploymentSupport

java.lang.Object
  extended by com.sun.appserv.management.deploy.DeploymentSupport

public final class DeploymentSupport
extends Object

Routines to convert to/from Map and Deployment types. {link com.sun.appserv.management.deploy.DeploymentMgr}


Constructor Summary
DeploymentSupport()
           
 
Method Summary
static
<T extends Serializable>
DeploymentProgress
mapToDeploymentProgress(Map<String,T> m)
          Create a DeploymentProgress represented by a Map.
static
<T extends Serializable>
DeploymentSource
mapToDeploymentSource(Map<String,T> m)
          Create a DeploymentSource represented by a Map.
static
<T extends Serializable>
DeploymentStatus
mapToDeploymentStatus(Map<String,T> m)
          Create a DeploymentProgress represented by a Map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentSupport

public DeploymentSupport()
Method Detail

mapToDeploymentSource

public static <T extends Serializable> DeploymentSource mapToDeploymentSource(Map<String,T> m)
Create a DeploymentSource represented by a Map.

Parameters:
m - a Map representing a DeploymentSource.
Returns:
an implementation of DeploymentSource

mapToDeploymentProgress

public static <T extends Serializable> DeploymentProgress mapToDeploymentProgress(Map<String,T> m)
Create a DeploymentProgress represented by a Map.

Parameters:
m - a Map representing a DeploymentProgress.
Returns:
an implementation of DeploymentProgress

mapToDeploymentStatus

public static <T extends Serializable> DeploymentStatus mapToDeploymentStatus(Map<String,T> m)
Create a DeploymentProgress represented by a Map.

Parameters:
m - a Map representing a DeploymentStatus.
Returns:
a DeploymentStatus

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.