org.codehaus.xfire.gen.jsr181
Class ServiceInterfaceGenerator

java.lang.Object
  extended by org.codehaus.xfire.gen.jsr181.AbstractPlugin
      extended by org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator
          extended by org.codehaus.xfire.gen.jsr181.ServiceInterfaceGenerator
All Implemented Interfaces:
GeneratorPlugin

public class ServiceInterfaceGenerator
extends AbstractServiceGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator
AbstractServiceGenerator.ParamInfo
 
Field Summary
static java.lang.String SERVICE_INTERFACE
           
 
Constructor Summary
ServiceInterfaceGenerator()
           
 
Method Summary
protected  void annotate(GenerationContext context, org.codehaus.xfire.service.OperationInfo op, com.sun.codemodel.JMethod method)
           
protected  void annotate(GenerationContext context, org.codehaus.xfire.service.OperationInfo op, com.sun.codemodel.JMethod method, org.codehaus.xfire.service.Binding binding)
           
protected  void annotate(GenerationContext context, org.codehaus.xfire.service.Service service, com.sun.codemodel.JDefinedClass jc, org.codehaus.xfire.service.Binding binding)
           
protected  void annotate(org.codehaus.xfire.service.MessagePartInfo part, com.sun.codemodel.JVar jvar)
           
protected  void annotate(org.codehaus.xfire.service.MessagePartInfo part, com.sun.codemodel.JVar jvar, org.codehaus.xfire.service.Binding binding)
           
protected  void annotateOneWay(com.sun.codemodel.JMethod method)
           
protected  void annotateOutParam(org.codehaus.xfire.service.MessagePartInfo part, com.sun.codemodel.JVar jvar)
           
protected  void annotateOutParam(org.codehaus.xfire.service.MessagePartInfo part, com.sun.codemodel.JVar jvar, org.codehaus.xfire.service.Binding binding)
           
protected  void annotateParam(AbstractServiceGenerator.ParamInfo param, com.sun.codemodel.JVar jvar)
           
protected  void annotateReturnType(com.sun.codemodel.JMethod method, org.codehaus.xfire.service.MessagePartInfo returnPart)
           
 void generate(GenerationContext context, org.codehaus.xfire.service.Service service)
           
protected  java.lang.String getClassName(GenerationContext context, org.codehaus.xfire.service.Service service)
           
protected  com.sun.codemodel.ClassType getClassType()
           
protected  boolean isWritten(GenerationContext context)
           
 
Methods inherited from class org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator
annotateInOutParam, annotateReturnType, generate, generate, generateFaults, getCurrentService, getHolderType, getReturnType, overwriteClass, setCurrentService
 
Methods inherited from class org.codehaus.xfire.gen.jsr181.AbstractPlugin
getPackage, getUniqueName, javify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_INTERFACE

public static final java.lang.String SERVICE_INTERFACE
See Also:
Constant Field Values
Constructor Detail

ServiceInterfaceGenerator

public ServiceInterfaceGenerator()
Method Detail

generate

public void generate(GenerationContext context,
                     org.codehaus.xfire.service.Service service)
              throws java.lang.Exception
Overrides:
generate in class AbstractServiceGenerator
Throws:
java.lang.Exception

isWritten

protected boolean isWritten(GenerationContext context)
Overrides:
isWritten in class AbstractServiceGenerator

getClassType

protected com.sun.codemodel.ClassType getClassType()
Specified by:
getClassType in class AbstractServiceGenerator

annotate

protected void annotate(GenerationContext context,
                        org.codehaus.xfire.service.Service service,
                        com.sun.codemodel.JDefinedClass jc,
                        org.codehaus.xfire.service.Binding binding)
Overrides:
annotate in class AbstractServiceGenerator

annotate

protected void annotate(GenerationContext context,
                        org.codehaus.xfire.service.OperationInfo op,
                        com.sun.codemodel.JMethod method)
Overrides:
annotate in class AbstractServiceGenerator

annotate

protected void annotate(GenerationContext context,
                        org.codehaus.xfire.service.OperationInfo op,
                        com.sun.codemodel.JMethod method,
                        org.codehaus.xfire.service.Binding binding)
Overrides:
annotate in class AbstractServiceGenerator

annotateOutParam

protected void annotateOutParam(org.codehaus.xfire.service.MessagePartInfo part,
                                com.sun.codemodel.JVar jvar)
Overrides:
annotateOutParam in class AbstractServiceGenerator

annotateOutParam

protected void annotateOutParam(org.codehaus.xfire.service.MessagePartInfo part,
                                com.sun.codemodel.JVar jvar,
                                org.codehaus.xfire.service.Binding binding)
Overrides:
annotateOutParam in class AbstractServiceGenerator

annotateReturnType

protected void annotateReturnType(com.sun.codemodel.JMethod method,
                                  org.codehaus.xfire.service.MessagePartInfo returnPart)
Overrides:
annotateReturnType in class AbstractServiceGenerator

annotateOneWay

protected void annotateOneWay(com.sun.codemodel.JMethod method)
Overrides:
annotateOneWay in class AbstractServiceGenerator

annotateParam

protected void annotateParam(AbstractServiceGenerator.ParamInfo param,
                             com.sun.codemodel.JVar jvar)
Overrides:
annotateParam in class AbstractServiceGenerator

annotate

protected void annotate(org.codehaus.xfire.service.MessagePartInfo part,
                        com.sun.codemodel.JVar jvar)
Overrides:
annotate in class AbstractServiceGenerator

annotate

protected void annotate(org.codehaus.xfire.service.MessagePartInfo part,
                        com.sun.codemodel.JVar jvar,
                        org.codehaus.xfire.service.Binding binding)
Overrides:
annotate in class AbstractServiceGenerator

getClassName

protected java.lang.String getClassName(GenerationContext context,
                                        org.codehaus.xfire.service.Service service)
Specified by:
getClassName in class AbstractServiceGenerator


Copyright © 2004-2009. All Rights Reserved.