ch.sahits.codegen.generator
Class Axis2MessageInOutReciever

java.lang.Object
  extended by ch.sahits.codegen.model.BasicModelGenerator
      extended by ch.sahits.codegen.generator.BasicAxis2ModelGenerator
          extended by ch.sahits.codegen.generator.Axis2MessageInOutReciever
All Implemented Interfaces:
IGeneralFileGenerator, IGeneralGenerator

public class Axis2MessageInOutReciever
extends BasicAxis2ModelGenerator
implements IGeneralFileGenerator

Generate an ServiceNameMessageReceiverInOut.java file in the appropriate package. The output location should be the project root.

Since:
1.2.0
Author:
Andi Hotz, Sahits GmbH

Field Summary
 
Fields inherited from class ch.sahits.codegen.generator.BasicAxis2ModelGenerator
model, ws
 
Constructor Summary
Axis2MessageInOutReciever()
           
 
Method Summary
 IFile generate()
          Generate the file reference and delegate the creation of the file to AxisWSDL2JavaWrapper
 java.lang.String getAbsoluteOutputLoacation()
          Retrieve the absolute path to the file output location based on the initialized model.
 void init(IOutputFileModel outputModel, IGeneratedObject model)
          Initialize the Registry after the initialisation of the model
 
Methods inherited from class ch.sahits.codegen.generator.BasicAxis2ModelGenerator
createModel, getAbsolutOutputDirectory, isGeneratedOutputFile
 
Methods inherited from class ch.sahits.codegen.model.BasicModelGenerator
createModelWithDBInputFile, createModelWithoutDB, initModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.sahits.codegen.generator.IGeneralGenerator
createModel, isGeneratedOutputFile
 

Constructor Detail

Axis2MessageInOutReciever

public Axis2MessageInOutReciever()
Method Detail

init

public void init(IOutputFileModel outputModel,
                 IGeneratedObject model)
Initialize the Registry after the initialisation of the model

Specified by:
init in interface IGeneralGenerator
Overrides:
init in class BasicAxis2ModelGenerator
Parameters:
outputModel - IOutputFileModel that defines the setup of the generation
model - IWebservice
See Also:
BasicAxis2ModelGenerator.init(IOutputFileModel, IGeneratedObject)

generate

public IFile generate()
Generate the file reference and delegate the creation of the file to AxisWSDL2JavaWrapper

Specified by:
generate in interface IGeneralFileGenerator
Returns:
File instance referencing the file to be created

getAbsoluteOutputLoacation

public java.lang.String getAbsoluteOutputLoacation()
Retrieve the absolute path to the file output location based on the initialized model. The file is always service.xml regardless of the specified name in the model.

Specified by:
getAbsoluteOutputLoacation in interface IGeneralFileGenerator
Returns:
Absolute path to the output location