* @return
* @throws DeploymentException
*/
public ModuleDescription buildModule(File modulearchive) throws DeploymentException {
ModuleDescription axismodule;
try {
currentArchiveFile = new ArchiveFileData(modulearchive, MODULE);
axismodule = new ModuleDescription();
ArchiveReader archiveReader = new ArchiveReader();
archiveReader.readModuleArchive(currentArchiveFile.getAbsolutePath(), this, axismodule,false);
currentArchiveFile.setClassLoader(false);
Flow inflow = axismodule.getInFlow();
if (inflow != null) {
addFlowHandlers(inflow);
}
Flow outFlow = axismodule.getOutFlow();
if (outFlow != null) {
addFlowHandlers(outFlow);
}
Flow faultInFlow = axismodule.getFaultInFlow();
if (faultInFlow != null) {
addFlowHandlers(faultInFlow);
}
Flow faultOutFlow = axismodule.getFaultOutFlow();
if (faultOutFlow != null) {
addFlowHandlers(faultOutFlow);
}
loadModuleClass(axismodule);
} catch (AxisFault axisFault) {