public class JaxRpcRICodegen extends ModuleContentLinker implements JaxRpcCodegenAdapter, ApplicationVisitor, EjbBundleVisitor, WebBundleVisitor, AppClientVisitor
Modifier and Type | Field and Description |
---|---|
protected DeploymentContext |
context |
protected org.glassfish.hk2.api.ServiceLocator |
habitat |
protected String |
moduleClassPath |
rootLocation_
Constructor and Description |
---|
JaxRpcRICodegen(boolean processServiceReferences)
Creates a new instance of JaxRpcRICodegen
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Application application)
visit an application object
|
void |
accept(ApplicationClientDescriptor appclientdescriptor)
visits a appclient descriptor
|
void |
accept(BundleDescriptor descriptor)
visits a Jakarta EE component bundle descriptor.
|
void |
accept(EjbBundleDescriptor bundleDescriptor)
visits an ejb bundle descriptor
|
void |
accept(ServiceReferenceDescriptor serviceRef)
Visits a webs service reference
|
void |
accept(WebBundleDescriptor descriptor)
visit a web bundle descriptor
|
void |
accept(WebService webService)
visits a web service definition
|
void |
done()
Releases resources used during the code gen and compilation.
|
Iterator |
getListOfBinaryFiles() |
Iterator |
getListOfSourceFiles() |
void |
run(org.glassfish.hk2.api.ServiceLocator habitat,
DeploymentContext context,
String cp)
perform the codegen with the context provided
|
createJarUrl, getEntryAsUrl
accept, accept, accept, accept, accept, accept, getSubDescriptorVisitor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getSubDescriptorVisitor
protected DeploymentContext context
protected org.glassfish.hk2.api.ServiceLocator habitat
protected String moduleClassPath
public JaxRpcRICodegen(boolean processServiceReferences)
public void run(org.glassfish.hk2.api.ServiceLocator habitat, DeploymentContext context, String cp) throws Exception
Codegen
public void accept(ServiceReferenceDescriptor serviceRef)
accept
in class ModuleContentLinker
public void accept(WebService webService)
accept
in class ModuleContentLinker
webService
- public Iterator getListOfBinaryFiles()
getListOfBinaryFiles
in interface Codegen
public Iterator getListOfSourceFiles()
getListOfSourceFiles
in interface Codegen
public void done()
done
in interface JaxRpcCodegenAdapter
public void accept(BundleDescriptor descriptor)
ComponentVisitor
accept
in interface ComponentVisitor
accept
in class ModuleContentLinker
public void accept(Application application)
accept
in interface ApplicationVisitor
the
- application descriptorpublic void accept(EjbBundleDescriptor bundleDescriptor)
accept
in interface EjbBundleVisitor
an
- ejb bundle descriptorpublic void accept(ApplicationClientDescriptor appclientdescriptor)
accept
in interface AppClientVisitor
appclientdescriptor
- get the visitor for its sub descriptorsub
- descriptor to return visitor forpublic void accept(WebBundleDescriptor descriptor)
accept
in interface WebBundleVisitor
the
- web bundle descriptorCopyright © 2021. All rights reserved.