1 23 24 package com.sun.enterprise.management.deploy; 25 26 import java.util.Map ; 27 import java.util.HashMap ; 28 29 import java.io.Serializable ; 30 31 import com.sun.appserv.management.deploy.DeploymentStatus; 32 import com.sun.appserv.management.deploy.DeploymentStatusImpl; 33 34 import com.sun.appserv.management.base.MapCapable; 35 36 40 final class Undeployer 41 { 42 private final String mModuleID; 43 private Map <String ,String > mParams; 44 45 public Undeployer(final String moduleID, final Map <String ,String > params) 46 { 47 mModuleID = moduleID; 48 mParams = params; 49 } 50 51 public DeploymentStatus 52 undeploy() 53 { 54 final Map <String ,Serializable > m = new HashMap <String ,Serializable >(); 55 m.put( MapCapable.MAP_CAPABLE_CLASS_NAME_KEY, 56 DeploymentStatus.DEPLOYMENT_STATUS_CLASS_NAME); 57 58 m.put( DeploymentStatus.STAGE_STATUS_KEY, new Integer ( 0 ) ); 59 m.put( DeploymentStatus.STAGE_STATUS_MESSAGE_KEY, "stubbed dummy" ); 60 61 return new DeploymentStatusImpl( m ); 62 } 63 } 64 65 | Popular Tags |