|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.modules.BasicDeploymentModule
org.codehaus.enunciate.modules.FreemarkerDeploymentModule
org.codehaus.enunciate.modules.jaxws_ri.JAXWSRIDeploymentModule
public class JAXWSRIDeploymentModule
The JAX-WS RI module assembles a JAX-WS RI-based server-side application for hosting the SOAP endpoints.
The "generate" step generates the necessary configuration files.
The JAX-WS RI module accepts the following parameters:
The JAX-WS RI deployment module exports no artifacts.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.enunciate.modules.BasicDeploymentModule |
|---|
enunciate |
| Constructor Summary | |
|---|---|
JAXWSRIDeploymentModule()
|
|
| Method Summary | |
|---|---|
protected void |
doBuild()
Default implementation is a no-op. |
void |
doFreemarkerGenerate()
Generate using Freemarker. |
protected java.io.File |
getConfigGenerateDir()
|
protected java.net.URL |
getInstrumentedEndpointTemplateURL()
|
protected java.net.URL |
getJAXWSSpringTemplateURL()
|
java.lang.String |
getName()
The name of the deployment module. |
protected java.net.URL |
getSunJAXWSTemplateURL()
|
Validator |
getValidator()
Get the validator for this module, or null if none. |
void |
init(Enunciate enunciate)
Sets the enunciate mechanism. |
void |
initModel(EnunciateFreemarkerModel model)
Initialize the model. |
boolean |
isDisabled()
Whether this deployment module has been disabled, e.g. |
boolean |
isJaxrsProvider()
Whether this module is a JAX-RS provider module. |
boolean |
isJaxwsProvider()
Whether this module is a JAX-WS provider module. |
boolean |
isSpringEnabled()
Spring is enabled if the spring-app module is enabled AND the spring runtime servlet is on the Enunciate classpath. |
protected boolean |
isUpToDate()
Whether the generated sources are up-to-date. |
boolean |
isUseWsdlRedirectFilter()
|
void |
setForceSpringDisabled(boolean forceSpringDisabled)
|
void |
setForceSpringEnabled(boolean forceSpringEnabled)
|
void |
setUseWsdlRedirectFilter(boolean useWsdlRedirectFilter)
|
| Methods inherited from class org.codehaus.enunciate.modules.FreemarkerDeploymentModule |
|---|
close, doGenerate, getConfiguration, getModel, getModelInternal, getObjectWrapper, getTemplateExceptionHandler, getTemplateLoader, processTemplate, processTemplate, processTemplate, processTemplate |
| Methods inherited from class org.codehaus.enunciate.modules.BasicDeploymentModule |
|---|
debug, doCompile, doPackage, getAliases, getBuildDir, getCompileDir, getConfigurationRules, getEnunciate, getGenerateDir, getOrder, getPackageDir, info, setBuildDir, setCompileDir, setDisabled, setGenerateDir, setPackageDir, step, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JAXWSRIDeploymentModule()
| Method Detail |
|---|
public java.lang.String getName()
DeploymentModule
getName in interface DeploymentModulegetName in class BasicDeploymentModuleprotected java.net.URL getJAXWSSpringTemplateURL()
protected java.net.URL getSunJAXWSTemplateURL()
protected java.net.URL getInstrumentedEndpointTemplateURL()
public void init(Enunciate enunciate)
throws EnunciateException
BasicDeploymentModule
init in interface DeploymentModuleinit in class BasicDeploymentModuleenunciate - The enunciate mechanism.
EnunciateExceptionpublic void initModel(EnunciateFreemarkerModel model)
EnunciateModelAware
initModel in interface EnunciateModelAwareinitModel in class FreemarkerDeploymentModulemodel - The model to initialize.public boolean isSpringEnabled()
public void doFreemarkerGenerate()
throws java.io.IOException,
freemarker.template.TemplateException
FreemarkerDeploymentModuleFreemarkerDeploymentModule.doGenerate() but can throw a TemplateException.
doFreemarkerGenerate in class FreemarkerDeploymentModulejava.io.IOException
freemarker.template.TemplateExceptionprotected java.io.File getConfigGenerateDir()
protected void doBuild()
throws EnunciateException,
java.io.IOException
BasicDeploymentModule
doBuild in class BasicDeploymentModuleEnunciateException
java.io.IOExceptionprotected boolean isUpToDate()
public boolean isJaxwsProvider()
SpecProviderModule
isJaxwsProvider in interface SpecProviderModulepublic boolean isJaxrsProvider()
SpecProviderModule
isJaxrsProvider in interface SpecProviderModulepublic Validator getValidator()
DeploymentModule
getValidator in interface DeploymentModulegetValidator in class BasicDeploymentModulepublic void setForceSpringEnabled(boolean forceSpringEnabled)
public void setForceSpringDisabled(boolean forceSpringDisabled)
public boolean isUseWsdlRedirectFilter()
public void setUseWsdlRedirectFilter(boolean useWsdlRedirectFilter)
public boolean isDisabled()
DeploymentModule
isDisabled in interface DeploymentModuleisDisabled in class BasicDeploymentModule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||