org.glassfish.webservices.codegen
Class JaxRpcRICodegen
java.lang.Object
com.sun.enterprise.deployment.util.DefaultDOLVisitor
com.sun.enterprise.deployment.util.ModuleContentLinker
org.glassfish.webservices.codegen.JaxRpcRICodegen
- All Implemented Interfaces:
- AppClientVisitor, ApplicationVisitor, ComponentVisitor, ConnectorVisitor, DescriptorVisitor, EjbBundleVisitor, EjbVisitor, ManagedBeanVisitor, WebBundleVisitor, Codegen, JaxRpcCodegenAdapter
public class JaxRpcRICodegen
- extends ModuleContentLinker
- implements JaxRpcCodegenAdapter
This class is responsible for generating all non portable
jax-rpc artifacts for a single .ear or standalone module.
- Author:
- Jerome Dochez
|
Constructor Summary |
JaxRpcRICodegen(boolean processServiceReferences)
Creates a new instance of JaxRpcRICodegen |
| Methods inherited from class com.sun.enterprise.deployment.util.DefaultDOLVisitor |
accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, acceptWithCL, acceptWithoutCL, getAppClientVisitor, getBundleDescriptor, getConnectorVisitor, getEjbBundleVisitor, getEjbVisitor, getWebBundleVisitor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected DeploymentContext context
habitat
protected org.jvnet.hk2.component.Habitat habitat
moduleClassPath
protected java.lang.String moduleClassPath
JaxRpcRICodegen
public JaxRpcRICodegen(boolean processServiceReferences)
- Creates a new instance of JaxRpcRICodegen
run
public void run(org.jvnet.hk2.component.Habitat habitat,
DeploymentContext context,
java.lang.String cp)
throws java.lang.Exception
- Description copied from interface:
Codegen
- perform the codegen with the context provided
- Specified by:
run in interface Codegen
- Throws:
java.lang.Exception
accept
public void accept(ServiceReferenceDescriptor serviceRef)
- Visits a webs service reference
- Specified by:
accept in interface ComponentVisitor- Overrides:
accept in class ModuleContentLinker
accept
public void accept(WebService webService)
- visits a web service definition
- Specified by:
accept in interface EjbBundleVisitor- Specified by:
accept in interface WebBundleVisitor- Overrides:
accept in class ModuleContentLinker
- Parameters:
webService -
getListOfBinaryFiles
public java.util.Iterator getListOfBinaryFiles()
- Specified by:
getListOfBinaryFiles in interface Codegen
- Returns:
- the list of binary files generated by this
generator
getListOfSourceFiles
public java.util.Iterator getListOfSourceFiles()
- Specified by:
getListOfSourceFiles in interface Codegen
- Returns:
- the list of source files generated by this
generator
done
public void done()
- Releases resources used during the code gen and compilation.
- Specified by:
done in interface JaxRpcCodegenAdapter
Copyright © 2012 GlassFish Community. All Rights Reserved.