@SupportedAnnotationTypes(value={"javax.jws.HandlerChain","javax.jws.Oneway","javax.jws.WebMethod","javax.jws.WebParam","javax.jws.WebResult","javax.jws.WebService","javax.jws.soap.InitParam","javax.jws.soap.SOAPBinding","javax.jws.soap.SOAPMessageHandler","javax.jws.soap.SOAPMessageHandlers","javax.xml.ws.BindingType","javax.xml.ws.RequestWrapper","javax.xml.ws.ResponseWrapper","javax.xml.ws.ServiceMode","javax.xml.ws.WebEndpoint","javax.xml.ws.WebFault","javax.xml.ws.WebServiceClient","javax.xml.ws.WebServiceProvider","javax.xml.ws.WebServiceRef"}) @SupportedOptions(value={"doNotOverWrite","ignoreNoWebServiceFoundWarning","verbose"}) public class WebServiceAp extends AbstractProcessor implements ModelBuilder
| Modifier and Type | Field and Description |
|---|---|
protected AnnotationProcessorContext |
context |
static String |
DO_NOT_OVERWRITE |
static String |
IGNORE_NO_WEB_SERVICE_FOUND_WARNING |
static String |
VERBOSE |
processingEnv| Constructor and Description |
|---|
WebServiceAp() |
WebServiceAp(WsgenOptions options,
PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canOverWriteClass(String className) |
boolean |
checkAndSetProcessed(TypeElement typeElement) |
TypeMirror |
getHolderValueType(TypeMirror type) |
String |
getOperationName(Name messageName) |
WsgenOptions |
getOptions() |
ProcessingEnvironment |
getProcessingEnvironment() |
File |
getSourceDir() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
isRemote(TypeElement typeElement) |
boolean |
isServiceException(TypeMirror typeMirror)
Checks if type is a service specific exception
|
void |
log(String message) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
void |
processError(String message) |
void |
processError(String message,
Element element) |
void |
processWarning(String message) |
protected void |
report(String msg) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitializedpublic static final String DO_NOT_OVERWRITE
public static final String IGNORE_NO_WEB_SERVICE_FOUND_WARNING
public static final String VERBOSE
protected AnnotationProcessorContext context
public WebServiceAp()
public WebServiceAp(WsgenOptions options, PrintStream out)
public void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic void processWarning(String message)
processWarning in interface ModelBuilderprotected void report(String msg)
public void processError(String message)
processError in interface ModelBuilderpublic void processError(String message, Element element)
processError in interface ModelBuilderpublic boolean canOverWriteClass(String className)
canOverWriteClass in interface ModelBuilderpublic File getSourceDir()
getSourceDir in interface ModelBuilderpublic boolean isRemote(TypeElement typeElement)
isRemote in interface ModelBuilderpublic boolean isServiceException(TypeMirror typeMirror)
ModelBuilderisServiceException in interface ModelBuildertypeMirror - the given element's typepublic TypeMirror getHolderValueType(TypeMirror type)
getHolderValueType in interface ModelBuilderpublic boolean checkAndSetProcessed(TypeElement typeElement)
checkAndSetProcessed in interface ModelBuilderpublic void log(String message)
log in interface ModelBuilderpublic WsgenOptions getOptions()
getOptions in interface ModelBuilderpublic ProcessingEnvironment getProcessingEnvironment()
getProcessingEnvironment in interface ModelBuilderpublic String getOperationName(Name messageName)
getOperationName in interface ModelBuilderpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorCopyright © 2005–2018 Oracle Corporation. All rights reserved.