}
public void process(WizardBean bean) throws ProcessException,Exception{
Page1Bean page1Bean = bean.getPage1bean();
Page2Bean page2Bean = bean.getPage2bean();
Page3Bean page3Bean = bean.getPage3bean();
File serviceFile = null;
File classFileFolder = null;
File outputFolder =null;
String outputFileName = null;
boolean isServiceCreated = false;
//see if the class file location is valid
classFileFolder = new File(page1Bean.getFileLocation());
if (!classFileFolder.exists()){
throw new ProcessException("Specified Class file location is empty!!");
}
if (!classFileFolder.isDirectory()){
throw new ProcessException("The class file location must be a folder!");