com.sun.tools.ws.processor.modeler.annotation
Class WebServiceWrapperGenerator
java.lang.Object
com.sun.mirror.util.SimpleDeclarationVisitor
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor
com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator
- All Implemented Interfaces:
- DeclarationVisitor, WebServiceConstants
public class WebServiceWrapperGenerator
- extends WebServiceVisitor
This class generates the request/response and Exception Beans
used by the JAX-WS runtime.
Fields inherited from class com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor |
ANNOTATION_ELEMENT_ERROR, builder, context, endpointInterfaceName, endpointReferencesInterface, hasWebMethods, hChain, packageName, port, portName, processedMethods, processingSEI, pushedSOAPBinding, seiContext, serviceImplName, serviceName, simpleTypeCreator, soapBindingStack, soapStyle, soapUse, typeDecl, typeDeclSOAPBinding, typeNamespace, wrapped, wsdlNamespace |
Fields inherited from interface com.sun.tools.ws.processor.modeler.annotation.WebServiceConstants |
BEAN, BINDING, COLLECTION_CLASSNAME, DOT, EMTPY_NAMESPACE_ID, EXCEPTION_CLASSNAME, FAULT_INFO, GET_FAULT_INFO, GET_PREFIX, HANDLER, HANDLER_CHAIN, HANDLER_CHAIN_NAME, HANDLER_CLASS, HANDLER_CONFIG, HANDLER_NAME, HOLDER_CLASSNAME, HTTP_PREFIX, INIT_PARAM, IS_PREFIX, JAVA_LANG_OBJECT, JAXWS, JAXWS_PACKAGE_PD, MAP_CLASSNAME, PARAM_NAME, PARAM_VALUE, PD, PD_JAXWS_PACKAGE_PD, PORT, REMOTE_CLASSNAME, REMOTE_EXCEPTION_CLASSNAME, RESPONSE, RETURN, RETURN_CAPPED, RETURN_VALUE, RUNTIME_EXCEPTION_CLASSNAME, SERIALIZABLE_CLASSNAME, SERVICE, SIGC_INNERCLASS, SIGC_UNDERSCORE, SOAP_HEADER, SOAP_ROLE, WEBSERVICE_NAMESPACE |
Methods inherited from class com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor |
annotationError, checkForInvalidImplAnnotation, checkForInvalidSEIAnnotation, classImplementsSEI, getModeParameterCount, getNamespace, getOutParameter, hasWebMethods, isDocLitWrapped, isEquivalentModes, isHolder, isLegalImplementation, isLegalMethod, isLegalParameter, isLegalSEI, isLegalType, isValidOnewayMethod, methodsAreLegal, methodsAreLegal, popSOAPBinding, preProcessWebService, processedMethod, processMethods, processMethods, pushSOAPBinding, sameMethod, sameStyle, shouldProcessMethod, shouldProcessWebService, shouldProcessWebService, verifyImplAnnotations, verifySEIAnnotations, visitClassDeclaration, visitInterfaceDeclaration, visitMethodDeclaration |
Methods inherited from class com.sun.mirror.util.SimpleDeclarationVisitor |
visitAnnotationTypeDeclaration, visitAnnotationTypeElementDeclaration, visitConstructorDeclaration, visitDeclaration, visitEnumConstantDeclaration, visitEnumDeclaration, visitExecutableDeclaration, visitFieldDeclaration, visitMemberDeclaration, visitPackageDeclaration, visitParameterDeclaration, visitTypeDeclaration, visitTypeParameterDeclaration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrapperNames
protected Set<String> wrapperNames
processedExceptions
protected Set<String> processedExceptions
cm
protected com.sun.codemodel.JCodeModel cm
makeSafeVisitor
protected MakeSafeTypeVisitor makeSafeVisitor
WebServiceWrapperGenerator
public WebServiceWrapperGenerator(ModelBuilder builder,
AnnotationProcessorContext context)
processWebService
protected void processWebService(javax.jws.WebService webService,
TypeDeclaration d)
- Specified by:
processWebService
in class WebServiceVisitor
postProcessWebService
protected void postProcessWebService(javax.jws.WebService webService,
InterfaceDeclaration d)
- Overrides:
postProcessWebService
in class WebServiceVisitor
postProcessWebService
protected void postProcessWebService(javax.jws.WebService webService,
ClassDeclaration d)
- Overrides:
postProcessWebService
in class WebServiceVisitor
doPostProcessWebService
protected void doPostProcessWebService(javax.jws.WebService webService,
TypeDeclaration d)
processMethod
protected void processMethod(MethodDeclaration method,
javax.jws.WebMethod webMethod)
- Specified by:
processMethod
in class WebServiceVisitor
getCMClass
protected com.sun.codemodel.JDefinedClass getCMClass(String className,
com.sun.codemodel.ClassType type)
isWSDLException
protected boolean isWSDLException(Map<String,MethodDeclaration> map,
ClassDeclaration thrownDecl)