Methods Summary |
---|
protected com.sun.enterprise.instance.BaseManager | createConfigManager(com.sun.enterprise.instance.InstanceEnvironment ienv, com.sun.enterprise.instance.ModuleEnvironment menv)
connModulesMgr = new ConnectorModulesManager(ienv);
return connModulesMgr;
|
protected void | deploy()
runVerifier();
try {
// copy xml files to generated/xml directory
// this work around should be removed once connector team
// provide a unified way to copy necessary files to
// generated/xml directroy.
String appDir =
request.getDeployedDirectory().getCanonicalPath();
String generatedXMLDir =
request.getGeneratedXMLDirectory().getCanonicalPath();
FileArchive srcArchive = new FileArchive();
srcArchive.open(appDir);
FileArchive destArchive = new FileArchive();
destArchive.open(generatedXMLDir);
Archivist.copyExtraElements(srcArchive, destArchive);
} catch (Exception e) {
throw new IASDeploymentException(e.getCause());
}
|
protected java.util.List | getModuleClasspath(com.sun.enterprise.deployment.archivist.Archivist archivist, com.sun.enterprise.deployment.deploy.shared.AbstractArchive archive)
return new ArrayList();
|
protected void | preDeploy()
assert moduleDir != null;
assert StringUtils.ok(moduleName);
try
{
if(request.isArchive())
{
J2EEModuleExploder.explode(request.getFileSource().getFile(), moduleDir, moduleName);
}
xmlDir.mkdirs();
}
catch(Exception e)
{
throw new IASDeploymentException(e.toString(), e);
}
|