FileDocCategorySizeDatePackage
Undeployer.javaAPI DocGlassfish v2 API3043Fri May 04 22:24:04 BST 2007com.sun.enterprise.management.deploy

Undeployer

public final class Undeployer extends Object
This implementation of Undeployer is a stub implementation designed to replace the normal implementation when unit tests are being run.

Fields Summary
private final String
mModuleID
private Map
mParams
Constructors Summary
public Undeployer(String moduleID, Map params)

	    mModuleID	= moduleID;
	    mParams		= params;
	
Methods Summary
public com.sun.appserv.management.deploy.DeploymentStatusundeploy()

		final Map<String,Serializable>	m	= new HashMap<String,Serializable>();
		m.put( MapCapable.MAP_CAPABLE_CLASS_NAME_KEY,
			DeploymentStatus.DEPLOYMENT_STATUS_CLASS_NAME);
			
		m.put( DeploymentStatus.STAGE_STATUS_KEY, new Integer( 0 ) );
		m.put( DeploymentStatus.STAGE_STATUS_MESSAGE_KEY, "stubbed dummy" );
		
	    return new DeploymentStatusImpl( m );