public class CXFProviderImpl extends WSContractProvider
PROVIDER_PROPERTY
Constructor and Description |
---|
CXFProviderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
provide(Class<?> endpointClass)
Generates artifacts using the current settings.
|
void |
provide(String endpointClass)
Generates artifacts using the current settings.
|
void |
setClassLoader(ClassLoader loader)
Sets the ClassLoader used to discover types.
|
void |
setExtension(boolean extension)
Enables/Disables SOAP 1.2 binding extension
|
void |
setGenerateSource(boolean generateSource)
Enables/Disables Java source generation.
|
void |
setGenerateWsdl(boolean generateWsdl)
Enables/Disables WSDL generation.
|
void |
setMessageStream(PrintStream messageStream)
Sets the PrintStream to use for status feedback.
|
void |
setOutputDirectory(File directory)
Sets the main output directory.
|
void |
setPortSoapAddress(String address)
Sets the soap:address to be used for the generated port in the wsdl.
|
void |
setResourceDirectory(File directory)
Sets the resource directory.
|
void |
setSourceDirectory(File directory)
Sets the source directory.
|
newInstance, newInstance
public void setGenerateWsdl(boolean generateWsdl)
WSContractProvider
setGenerateWsdl
in class WSContractProvider
generateWsdl
- whether or not to generate WSDLpublic void setExtension(boolean extension)
WSContractProvider
setExtension
in class WSContractProvider
extension
- whether or not to enable SOAP 1.2 binding extensionpublic void setGenerateSource(boolean generateSource)
WSContractProvider
setGenerateSource
in class WSContractProvider
generateSource
- whether or not to generate Java source.public void setOutputDirectory(File directory)
WSContractProvider
setOutputDirectory
in class WSContractProvider
directory
- the root directory for generated filespublic void setResourceDirectory(File directory)
WSContractProvider
setResourceDirectory
in class WSContractProvider
directory
- the root directory for generated resource filespublic void setSourceDirectory(File directory)
WSContractProvider
setSourceDirectory
in class WSContractProvider
directory
- the root directory for generated source codepublic void setClassLoader(ClassLoader loader)
WSContractProvider
setClassLoader
in class WSContractProvider
loader
- the ClassLoader to usepublic void setMessageStream(PrintStream messageStream)
WSContractProvider
Example output:
Generating WSDL: TestMeService.wsdl Writing Source: org/jboss/ws/tools/jaxws/TestMe.java org/jboss/ws/tools/jaxws/TestMeResponse.java Writing Classes: org/jboss/ws/tools/jaxws/TestMe.class org/jboss/ws/tools/jaxws/TestMeResponse.class
setMessageStream
in class WSContractProvider
messageStream
- the stream to use for status messages:public void setPortSoapAddress(String address)
WSContractProvider
setPortSoapAddress
in class WSContractProvider
address
- soap addresspublic void provide(String endpointClass)
WSContractProvider
provide
in class WSContractProvider
endpointClass
- the name of the endpoint implementation beanpublic void provide(Class<?> endpointClass)
WSContractProvider
provide
in class WSContractProvider
endpointClass
- the endpoint implementation beanCopyright © 2018 JBoss by Red Hat. All rights reserved.