org.glassfish.webservices.codegen
Class JaxRpcRICodegen

java.lang.Object
  extended by com.sun.enterprise.deployment.util.DefaultDOLVisitor
      extended by com.sun.enterprise.deployment.util.ModuleContentLinker
          extended by 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

Field Summary
protected  DeploymentContext context
           
protected  org.jvnet.hk2.component.Habitat habitat
           
protected  java.lang.String moduleClassPath
           
 
Fields inherited from class com.sun.enterprise.deployment.util.ModuleContentLinker
rootLocation_
 
Fields inherited from class com.sun.enterprise.deployment.util.DefaultDOLVisitor
bundleDescriptor
 
Constructor Summary
JaxRpcRICodegen(boolean processServiceReferences)
          Creates a new instance of JaxRpcRICodegen
 
Method Summary
 void accept(ServiceReferenceDescriptor serviceRef)
          Visits a webs service reference
 void accept(WebService webService)
          visits a web service definition
 void done()
          Releases resources used during the code gen and compilation.
 java.util.Iterator getListOfBinaryFiles()
           
 java.util.Iterator getListOfSourceFiles()
           
 void run(org.jvnet.hk2.component.Habitat habitat, DeploymentContext context, java.lang.String cp)
          perform the codegen with the context provided
 
Methods inherited from class com.sun.enterprise.deployment.util.ModuleContentLinker
createJarUrl, getEntryAsUrl
 
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
 

Field Detail

context

protected DeploymentContext context

habitat

protected org.jvnet.hk2.component.Habitat habitat

moduleClassPath

protected java.lang.String moduleClassPath
Constructor Detail

JaxRpcRICodegen

public JaxRpcRICodegen(boolean processServiceReferences)
Creates a new instance of JaxRpcRICodegen

Method Detail

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.