org.codehaus.xfire.gen.jsr181
Class ServiceStubGenerator
java.lang.Object
org.codehaus.xfire.gen.jsr181.AbstractPlugin
org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator
org.codehaus.xfire.gen.jsr181.ServiceStubGenerator
- All Implemented Interfaces:
- GeneratorPlugin
public class ServiceStubGenerator
- extends AbstractServiceGenerator
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 java.lang.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,
java.lang.String clsName,
java.io.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_STUB
public static final java.lang.String SERVICE_STUB
- See Also:
- Constant Field Values
ServiceStubGenerator
public ServiceStubGenerator()
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
overwriteClass
protected boolean overwriteClass(GenerationContext context,
org.codehaus.xfire.service.Service service,
java.lang.String clsName,
java.io.File classFile)
- Overrides:
overwriteClass
in class AbstractServiceGenerator
getClassName
protected java.lang.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-2009. All Rights Reserved.