org.codehaus.mojo.weblogic
Class ServiceGenMojo

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

public class ServiceGenMojo
extends AbstractWeblogicMojo

Runs Service Gen on a given WSDL.

Version:
$Id: ServiceGenMojo.java 6622 2008-04-01 02:21:19Z 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
ServiceGenMojo()
           
 
Method Summary
 void execute()
          This method will run client gen on the given WSDL.
 String getContextUri()
          Getter for the context uri
 String getInputArtifactPath()
          Getter for the input artifact path
 String getOutputDir()
          Getter for property output dir.
 String getPackageName()
          Getter for property package name.
 Service[] getServices()
          Getter for the services
 String getWarName()
          Getter for the war name.
 void setContextUri(String contextUri)
          Setter for the context uri
 void setInputArtifactPath(String inputArtifactPath)
          Setter for the input artifact path
 void setOutputDir(String inOutputDir)
          Setter for the output dir.
 void setPackageName(String inPackageName)
          Setter for the package name.
 void setServices(Service[] services)
          Setter for the services
 void setWarName(String warName)
          Setter for the war name.
 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

ServiceGenMojo

public ServiceGenMojo()
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

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.

getServices

public Service[] getServices()
Getter for the services

Returns:
the list of services

setServices

public void setServices(Service[] services)
Setter for the services

Parameters:
services - the services

toString

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

Overrides:
toString in class AbstractWeblogicMojo
Returns:
the String representation

getWarName

public String getWarName()
Getter for the war name.

Returns:
the war name in side the ear that contains the services

getInputArtifactPath

public String getInputArtifactPath()
Getter for the input artifact path

Returns:
the inputArtifactPath

setInputArtifactPath

public void setInputArtifactPath(String inputArtifactPath)
Setter for the input artifact path

Parameters:
inputArtifactPath - the input artifact path

setWarName

public void setWarName(String warName)
Setter for the war name.

Parameters:
warName - the war name

getContextUri

public String getContextUri()
Getter for the context uri

Returns:
the contextUri

setContextUri

public void setContextUri(String contextUri)
Setter for the context uri

Parameters:
contextUri - the contextUri


Copyright © 2005-2008 Codehaus. All Rights Reserved.