org.codehaus.xfire.gen.jsr181
Class ServiceStubGenerator

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.ServiceStubGenerator
All Implemented Interfaces:
GeneratorPlugin

public class ServiceStubGenerator
extends AbstractServiceGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator
AbstractServiceGenerator.ParamInfo
 
Field Summary
static String SERVICE_STUB
           
 
Constructor Summary
ServiceStubGenerator()
           
 
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.Service service, com.sun.codemodel.JDefinedClass jc, org.codehaus.xfire.service.Binding binding)
           
 void generate(GenerationContext context, org.codehaus.xfire.service.Service service)
           
protected  String getClassName(GenerationContext context, org.codehaus.xfire.service.Service service)
           
protected  com.sun.codemodel.ClassType getClassType()
           
protected  boolean overwriteClass(GenerationContext context, org.codehaus.xfire.service.Service service, String clsName, File classFile)
           
 
Methods inherited from class org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator
annotate, annotate, annotate, annotateInOutParam, annotateOneWay, annotateOutParam, annotateOutParam, annotateParam, annotateReturnType, annotateReturnType, generate, generate, generateFaults, getCurrentService, getHolderType, getReturnType, isWritten, 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_STUB

public static final String SERVICE_STUB
See Also:
Constant Field Values
Constructor Detail

ServiceStubGenerator

public ServiceStubGenerator()
Method Detail

generate

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

overwriteClass

protected boolean overwriteClass(GenerationContext context,
                                 org.codehaus.xfire.service.Service service,
                                 String clsName,
                                 File classFile)
Overrides:
overwriteClass in class AbstractServiceGenerator

getClassName

protected String getClassName(GenerationContext context,
                              org.codehaus.xfire.service.Service service)
Specified by:
getClassName 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

getClassType

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


Copyright © 2004-2013. All Rights Reserved.