org.codehaus.mojo.weblogic
Class ClientGen9Mojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.weblogic.AbstractWeblogicMojo
          extended by org.codehaus.mojo.weblogic.ClientGen9Mojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ClientGen9Mojo
extends AbstractWeblogicMojo

Runs Client Gen on a given WSDL. This client gen uses the BEA refactored client gen tool first appearing in weblogic 9. This is the preferred client gen tool for Weblogic 9.0 and newer.

Version:
$Id: ClientGen9Mojo.java 7025 2008-05-21 01:50:58Z jonnio $
Author:
Jon Osborn

Field Summary
 
Fields inherited from class org.codehaus.mojo.weblogic.AbstractWeblogicMojo
WEBLOGIC_HOME_KEY
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ClientGen9Mojo()
           
 
Method Summary
 void execute()
          This method will run client gen on the given WSDL.
 String getInputWSDL()
          Getter for property input WSDL.
 String getOutputDir()
          Getter for property output dir.
 String getPackageName()
          Getter for property package name.
 String getServiceName()
          Getter for property service name.
 String getWarFileName()
          Getter for warFileName
 boolean isAutotype()
          Getter for autoType
 boolean isJaxRPCWrappedArrayStyle()
          Getter for jaxRPCWrappedArrayStyle
 boolean isUseServerTypes()
          Getter for server types
 boolean isVerbose()
          Getter for verbose messages
 void setAutotype(boolean autotype)
          Setter for autoType
 void setInputWSDL(String inInputWSDL)
          Setter for the input WSDL.
 void setJaxRPCWrappedArrayStyle(boolean jaxRPCWrappedArrayStyle)
          Setter for jaxRPCWrappedArrayStyle
 void setOutputDir(String inOutputDir)
          Setter for the output dir.
 void setPackageName(String inPackageName)
          Setter for the package name.
 void setServiceName(String inServiceName)
          Setter for the service name.
 void setUseServerTypes(boolean useServerTypes)
          Setter for server types
 void setVerbose(boolean verbose)
          Setter for verbose messages
 void setWarFileName(String warFileName)
          Setter for warFileName
 String toString()
          toString method: creates a String representation of the object
 
Methods inherited from class org.codehaus.mojo.weblogic.AbstractWeblogicMojo
createTargetDirectory, getArtifacts, getDefaultLogger, getDependencies, getOutputDirectory, getPluginArtifacts, getWeblogicHome, setArtifacts, setDependencies, setOutputDirectory, setPluginArtifacts, setProperties, setWeblogicHome
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientGen9Mojo

public ClientGen9Mojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
This method will run client gen on the given WSDL.

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractWeblogicMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - Thrown if we fail to obtain the WSDL.
See Also:
AbstractWeblogicMojo.weblogicHome

getInputWSDL

public String getInputWSDL()
Getter for property input WSDL.

Returns:
The value of input WSDL.

setInputWSDL

public void setInputWSDL(String inInputWSDL)
Setter for the input WSDL.

Parameters:
inInputWSDL - The value of input WSDL.

getOutputDir

public String getOutputDir()
Getter for property output dir.

Returns:
The value of output dir.

setOutputDir

public void setOutputDir(String inOutputDir)
Setter for the output dir.

Parameters:
inOutputDir - The value of output dir.

getPackageName

public String getPackageName()
Getter for property package name.

Returns:
The value of package name.

setPackageName

public void setPackageName(String inPackageName)
Setter for the package name.

Parameters:
inPackageName - The value of package name.

getServiceName

public String getServiceName()
Getter for property service name.

Returns:
The value of service name.

setServiceName

public void setServiceName(String inServiceName)
Setter for the service name.

Parameters:
inServiceName - The value of service name.

toString

public String toString()
toString method: creates a String representation of the object

Overrides:
toString in class AbstractWeblogicMojo
Returns:
the String representation

isUseServerTypes

public boolean isUseServerTypes()
Getter for server types

Returns:
true if the client gen should use server type information

setUseServerTypes

public void setUseServerTypes(boolean useServerTypes)
Setter for server types

Parameters:
useServerTypes - - true if the client gen should use server types

isVerbose

public boolean isVerbose()
Getter for verbose messages

Returns:
true if the client gen should use verbose output

setVerbose

public void setVerbose(boolean verbose)
Setter for verbose messages

Parameters:
verbose - - true of the clientgen should use verbose output

isAutotype

public boolean isAutotype()
Getter for autoType

Returns:
true if clientgen shoud autotype from the wsdl

setAutotype

public void setAutotype(boolean autotype)
Setter for autoType

Parameters:
autotype - - true if the client should autotype

getWarFileName

public String getWarFileName()
Getter for warFileName

Returns:
the warFileName

setWarFileName

public void setWarFileName(String warFileName)
Setter for warFileName

Parameters:
warFileName - - the warFileName to set

isJaxRPCWrappedArrayStyle

public boolean isJaxRPCWrappedArrayStyle()
Getter for jaxRPCWrappedArrayStyle

Returns:
the jaxRPCWrappedArrayStyle

setJaxRPCWrappedArrayStyle

public void setJaxRPCWrappedArrayStyle(boolean jaxRPCWrappedArrayStyle)
Setter for jaxRPCWrappedArrayStyle

Parameters:
jaxRPCWrappedArrayStyle - the jaxRPCWrappedArrayStyle to set


Copyright © 2005-2008 Codehaus. All Rights Reserved.