com.legstar.cixs.jaxws.model
Class AntBuildJaxws2CixsModel

java.lang.Object
  extended by com.legstar.codegen.models.AbstractPropertiesModel
      extended by com.legstar.codegen.models.AbstractAntBuildModel
          extended by com.legstar.cixs.gen.ant.model.AbstractAntBuildCixsModel
              extended by com.legstar.cixs.jaxws.model.AbstractAntBuildCixsJaxwsModel
                  extended by com.legstar.cixs.jaxws.model.AntBuildJaxws2CixsModel
All Implemented Interfaces:
com.legstar.codegen.models.IAntBuildModel

public class AntBuildJaxws2CixsModel
extends AbstractAntBuildCixsJaxwsModel

This is a model for Jaxws to Cixs component generation. The generated component runs under Jaxws and wraps a CICS transaction.


Field Summary
static boolean DEFAULT_NOPACKAGEINFO
          Default value for no package-info generation.
static String JAXWS_NOPACKAGEINFO
          Don't generate package-info.java.
static String JAXWS2CIXS_GENERATOR_NAME
          This generator name.
static String JAXWS2CIXS_VELOCITY_MACRO_NAME
          This velocity template that creates an ant build which in turn generates the target web service.
 
Fields inherited from class com.legstar.cixs.jaxws.model.AbstractAntBuildCixsJaxwsModel
TARGET_WAR_DIR, TARGET_WDD_DIR
 
Fields inherited from class com.legstar.cixs.gen.ant.model.AbstractAntBuildCixsModel
COXB_BIN_DIR, CUST_BIN_DIR, HOST_CHARSET, JAXB_BIN_DIR, TARGET_ANT_DIR, TARGET_BIN_DIR, TARGET_DIST_DIR, TARGET_SRC_DIR
 
Fields inherited from class com.legstar.codegen.models.AbstractAntBuildModel
ANT_FILE_PREFIX, ANT_FILE_SUFFIX
 
Constructor Summary
AntBuildJaxws2CixsModel()
          Construct the model.
AntBuildJaxws2CixsModel(Properties props)
          Construct from a properties file.
 
Method Summary
 WebServiceParameters getWebServiceParameters()
           
 boolean isNoPackageInfo()
          Prevents generation of package-info.java which does not compile under JDK 1.5.
 void setNoPackageInfo(boolean noPackageInfo)
          Prevents generation of package-info.java which does not compile under JDK 1.5.
 void setWebServiceParameters(WebServiceParameters webServiceParameters)
           
 Properties toProperties()
           
 
Methods inherited from class com.legstar.cixs.jaxws.model.AbstractAntBuildCixsJaxwsModel
getCixsJaxwsService, getTargetWarDir, getTargetWDDDir, setCixsJaxwsService, setTargetWarDir, setTargetWDDDir
 
Methods inherited from class com.legstar.cixs.gen.ant.model.AbstractAntBuildCixsModel
generateBuild, getCixsService, getCoxbBinDir, getCustBinDir, getGeneratorName, getHostCharset, getJaxbBinDir, getTargetAntDir, getTargetBinDir, getTargetDistDir, getTargetSrcDir, setCixsService, setCoxbBinDir, setCustBinDir, setGeneratorName, setHostCharset, setJaxbBinDir, setTargetAntDir, setTargetBinDir, setTargetDistDir, setTargetSrcDir
 
Methods inherited from class com.legstar.codegen.models.AbstractAntBuildModel
generateBuild, generateBuild, getProbeFile, getProductLocation, setProbeFile, setProductLocation
 
Methods inherited from class com.legstar.codegen.models.AbstractPropertiesModel
getBoolean, getFile, getInt, getLong, getString, getStringList, getURI, putBoolean, putFile, putInt, putLong, putString, putStringList, putURI, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JAXWS2CIXS_GENERATOR_NAME

public static final String JAXWS2CIXS_GENERATOR_NAME
This generator name.

See Also:
Constant Field Values

JAXWS2CIXS_VELOCITY_MACRO_NAME

public static final String JAXWS2CIXS_VELOCITY_MACRO_NAME
This velocity template that creates an ant build which in turn generates the target web service.

See Also:
Constant Field Values

DEFAULT_NOPACKAGEINFO

public static final boolean DEFAULT_NOPACKAGEINFO
Default value for no package-info generation.

See Also:
Constant Field Values

JAXWS_NOPACKAGEINFO

public static final String JAXWS_NOPACKAGEINFO
Don't generate package-info.java.

See Also:
Constant Field Values
Constructor Detail

AntBuildJaxws2CixsModel

public AntBuildJaxws2CixsModel()
Construct the model.


AntBuildJaxws2CixsModel

public AntBuildJaxws2CixsModel(Properties props)
Construct from a properties file.

Parameters:
props - the property file
Method Detail

getWebServiceParameters

public WebServiceParameters getWebServiceParameters()
Returns:
the set of parameters needed to expose a Web Service

setWebServiceParameters

public void setWebServiceParameters(WebServiceParameters webServiceParameters)
Parameters:
webServiceParameters - the set of parameters needed to expose a Web Service to set

isNoPackageInfo

public boolean isNoPackageInfo()
Prevents generation of package-info.java which does not compile under JDK 1.5.

Returns:
true if we should not generate package-info.java

setNoPackageInfo

public void setNoPackageInfo(boolean noPackageInfo)
Prevents generation of package-info.java which does not compile under JDK 1.5.

Parameters:
noPackageInfo - true if we should not generate package-info.java

toProperties

public Properties toProperties()
Overrides:
toProperties in class AbstractAntBuildCixsJaxwsModel
Returns:
a properties file holding the values of this object fields


Copyright © 2014 LegSem. All Rights Reserved.