com.sun.tools.ws.processor.modeler.annotation
Class WebServiceWrapperGenerator

java.lang.Object
  extended by SimpleDeclarationVisitor
      extended by com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor
          extended by com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator
All Implemented Interfaces:
WebServiceConstants

public class WebServiceWrapperGenerator
extends WebServiceVisitor

This class generates the request/response and Exception Beans used by the JAX-WS runtime.

Author:
WS Development Team

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor
WebServiceVisitor.MySOAPBinding
 
Field Summary
 
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
 
Constructor Summary
WebServiceWrapperGenerator(ModelBuilder builder, AnnotationProcessorContext context)
           
 
Method Summary
protected  void doPostProcessWebService(WebService webService, TypeDeclaration d)
           
protected  JDefinedClass getCMClass(java.lang.String className, ClassType type)
           
protected  boolean isWSDLException(java.util.Collection<com.sun.tools.ws.processor.modeler.annotation.MemberInfo> members, ClassDeclaration thrownDecl)
           
protected  void postProcessWebService(WebService webService, ClassDeclaration d)
           
protected  void postProcessWebService(WebService webService, InterfaceDeclaration d)
           
protected  void processMethod(MethodDeclaration method, WebMethod webMethod)
           
protected  void processWebService(WebService webService, TypeDeclaration d)
           
 
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceWrapperGenerator

public WebServiceWrapperGenerator(ModelBuilder builder,
                                  AnnotationProcessorContext context)
Method Detail

processWebService

protected void processWebService(WebService webService,
                                 TypeDeclaration d)
Specified by:
processWebService in class WebServiceVisitor

postProcessWebService

protected void postProcessWebService(WebService webService,
                                     InterfaceDeclaration d)
Overrides:
postProcessWebService in class WebServiceVisitor

postProcessWebService

protected void postProcessWebService(WebService webService,
                                     ClassDeclaration d)
Overrides:
postProcessWebService in class WebServiceVisitor

doPostProcessWebService

protected void doPostProcessWebService(WebService webService,
                                       TypeDeclaration d)

processMethod

protected void processMethod(MethodDeclaration method,
                             WebMethod webMethod)
Specified by:
processMethod in class WebServiceVisitor

getCMClass

protected JDefinedClass getCMClass(java.lang.String className,
                                   ClassType type)

isWSDLException

protected boolean isWSDLException(java.util.Collection<com.sun.tools.ws.processor.modeler.annotation.MemberInfo> members,
                                  ClassDeclaration thrownDecl)


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.