com.sun.tools.ws.processor.modeler.annotation
Class WebServiceAp
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.sun.tools.ws.processor.modeler.annotation.WebServiceAp
- All Implemented Interfaces:
- ModelBuilder, Processor
@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"})
public class WebServiceAp- extends AbstractProcessor
- implements ModelBuilder
WebServiceAp is a AnnotationProcessor for processing javax.jws.* and
javax.xml.ws.* annotations. This class is used either by the WsGen (CompileTool) tool or
indirectly when invoked by javac.
- Author:
- WS Development Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DO_NOT_OVERWRITE
public static final String DO_NOT_OVERWRITE
- See Also:
- Constant Field Values
IGNORE_NO_WEB_SERVICE_FOUND_WARNING
public static final String IGNORE_NO_WEB_SERVICE_FOUND_WARNING
- See Also:
- Constant Field Values
context
protected AnnotationProcessorContext context
WebServiceAp
public WebServiceAp()
WebServiceAp
public WebServiceAp(WsgenOptions options,
PrintStream out)
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
init in interface Processor- Overrides:
init in class AbstractProcessor
process
public boolean process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv)
- Specified by:
process in interface Processor- Specified by:
process in class AbstractProcessor
processWarning
public void processWarning(String message)
- Specified by:
processWarning in interface ModelBuilder
report
protected void report(String msg)
processError
public void processError(String message)
- Specified by:
processError in interface ModelBuilder
processError
public void processError(String message,
Element element)
- Specified by:
processError in interface ModelBuilder
canOverWriteClass
public boolean canOverWriteClass(String className)
- Specified by:
canOverWriteClass in interface ModelBuilder
getSourceDir
public File getSourceDir()
- Specified by:
getSourceDir in interface ModelBuilder
isRemote
public boolean isRemote(TypeElement typeElement)
- Specified by:
isRemote in interface ModelBuilder
isServiceException
public boolean isServiceException(TypeMirror typeMirror)
- Description copied from interface:
ModelBuilder
- Checks if type is a service specific exception
- Specified by:
isServiceException in interface ModelBuilder
- Parameters:
typeMirror - the given element's type
- Returns:
- true if is not a service specific exception as defined by JAX-WS specification
getHolderValueType
public TypeMirror getHolderValueType(TypeMirror type)
- Specified by:
getHolderValueType in interface ModelBuilder
checkAndSetProcessed
public boolean checkAndSetProcessed(TypeElement typeElement)
- Specified by:
checkAndSetProcessed in interface ModelBuilder
log
public void log(String message)
- Specified by:
log in interface ModelBuilder
getOptions
public WsgenOptions getOptions()
- Specified by:
getOptions in interface ModelBuilder
getProcessingEnvironment
public ProcessingEnvironment getProcessingEnvironment()
- Specified by:
getProcessingEnvironment in interface ModelBuilder
getOperationName
public String getOperationName(Name messageName)
- Specified by:
getOperationName in interface ModelBuilder
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion in interface Processor- Overrides:
getSupportedSourceVersion in class AbstractProcessor
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.