1 23 package com.sun.appserv.management.deploy; 24 25 import java.util.Map ; 26 import java.io.Serializable ; 27 28 import com.sun.appserv.management.deploy.DeploymentSource; 29 import com.sun.appserv.management.deploy.DeploymentProgress; 30 import com.sun.appserv.management.deploy.DeploymentStatus; 31 32 33 38 39 public final class DeploymentSupport 40 { 41 47 public static <T extends Serializable > DeploymentSource 48 mapToDeploymentSource( final Map <String ,T> m ) 49 { 50 return( new DeploymentSourceImpl( m ) ); 51 } 52 53 54 60 public static <T extends Serializable > DeploymentProgress 61 mapToDeploymentProgress( final Map <String ,T> m ) 62 { 63 return( new DeploymentProgressImpl( m ) ); 64 } 65 66 67 73 public static <T extends Serializable > DeploymentStatus 74 mapToDeploymentStatus( final Map <String ,T> m ) 75 { 76 return( new DeploymentStatusImpl( m ) ); 77 } 78 } 79 80 81 82 | Popular Tags |