FileDocCategorySizeDatePackage
AppClientModuleDeployer.javaAPI DocGlassfish v2 API4842Fri May 04 22:34:30 BST 2007com.sun.enterprise.deployment.backend

AppClientModuleDeployer

public class AppClientModuleDeployer extends ModuleDeployer

Fields Summary
private static com.sun.enterprise.util.i18n.StringManager
localStrings
Constructors Summary
AppClientModuleDeployer(DeploymentRequest r)

	super(r);
    
Methods Summary
protected com.sun.enterprise.instance.BaseManagercreateConfigManager(com.sun.enterprise.instance.InstanceEnvironment ienv, com.sun.enterprise.instance.ModuleEnvironment menv)

	return  new AppclientModulesManager(ienv);
    
protected voiddeploy()

        loadDescriptors();
        runVerifier();
        checkAppclientsMainClasses();
        xmlDir.mkdirs();
        // Set the generated XML directory in application desc
        request.getDescriptor().setGeneratedXMLDirectory(xmlDir.getAbsolutePath());
	ZipItem[] clientStubs = runEJBC();
	createClientJar(clientStubs);
    
protected booleanneedsStubs()

	// override this for any module that needs stubs created
	return true;
    
protected voidpreDeploy()

	assert moduleDir != null;
	assert StringUtils.ok(moduleName);
	
	try
	{
	    if(request.isArchive()) {
		J2EEModuleExploder.explodeJar(request.getFileSource().getFile(), moduleDir);
	    }

	    xmlDir.mkdirs(); 
	    jwsDir.mkdirs(); 
	}
	catch(Exception e)
	{
	    throw new IASDeploymentException(e.toString(), e);
	}