public class WSEEEJBToolsModuleExtension
extends java.lang.Object
implements weblogic.application.compiler.ToolsModuleExtension
Modifier and Type | Field and Description |
---|---|
private EjbJarBean |
ejbJarBean |
private ModuleContext |
modCtx |
private ModuleExtensionContext |
modExtCtx |
private static java.lang.String |
STANDARD_DD |
private Descriptor |
standardDD |
private weblogic.application.compiler.ToolsContext |
toolsCtx |
private weblogic.application.compiler.ToolsModule |
toolsModule |
private static java.lang.String |
WSEE_EJB_URI_81 |
private weblogic.j2ee.wsee.compiler.WSEEModuleHelper |
wseeHelper |
private DescriptorBean |
wsPolicyRefBean |
Constructor and Description |
---|
WSEEEJBToolsModuleExtension(ModuleExtensionContext modExtCtx,
weblogic.application.compiler.ToolsContext toolsCtx,
weblogic.application.compiler.ToolsModule toolsModule,
Descriptor standardDD) |
Modifier and Type | Method and Description |
---|---|
private void |
backupDescriptors(weblogic.utils.jars.VirtualJarFile moduleVjf) |
java.util.Map<java.lang.String,DescriptorBean> |
compile(weblogic.utils.classloaders.GenericClassLoader cl,
java.util.Map<java.lang.String,DescriptorBean> extensibleModuleDescriptors)
Called right after compile callback has been invoked for all the modules
in an application
|
java.util.Map<java.lang.String,DescriptorBean> |
merge(java.util.Map<java.lang.String,DescriptorBean> extensibleModuleDescriptors)
If this module extension supports libraries, merge causes the module
to physically merge all libraries into itself.
|
private void |
processAnnotations(EjbJarBean ejbJarBean) |
private java.util.Map<java.lang.String,DescriptorBean> |
processDDs() |
void |
write()
Write out the merged module extension to disk.
|
protected void |
writeDescriptors(weblogic.application.compiler.ToolsContext ctx) |
private void |
writeOut(java.lang.String uri,
DescriptorBean bean) |
private boolean |
wseeAnnotationsEnabled(EjbJarBean ejbBean) |
private static final java.lang.String STANDARD_DD
private static final java.lang.String WSEE_EJB_URI_81
private final ModuleExtensionContext modExtCtx
private final weblogic.application.compiler.ToolsModule toolsModule
private final weblogic.application.compiler.ToolsContext toolsCtx
private final Descriptor standardDD
private final ModuleContext modCtx
private weblogic.j2ee.wsee.compiler.WSEEModuleHelper wseeHelper
private DescriptorBean wsPolicyRefBean
private EjbJarBean ejbJarBean
public WSEEEJBToolsModuleExtension(ModuleExtensionContext modExtCtx, weblogic.application.compiler.ToolsContext toolsCtx, weblogic.application.compiler.ToolsModule toolsModule, Descriptor standardDD)
public java.util.Map<java.lang.String,DescriptorBean> compile(weblogic.utils.classloaders.GenericClassLoader cl, java.util.Map<java.lang.String,DescriptorBean> extensibleModuleDescriptors) throws weblogic.utils.compiler.ToolFailureException
weblogic.application.compiler.ToolsModuleExtension
compile
in interface weblogic.application.compiler.ToolsModuleExtension
extensibleModuleDescriptors
- A map of such descriptors parsed by the
extensible module and rest of the module extensions that have been merged
so far. The module extension may read values from the map and
override some of the descriptors with annotation information. In that case
module extension must return the same descriptor again, it's own mapweblogic.utils.compiler.ToolFailureException
public java.util.Map<java.lang.String,DescriptorBean> merge(java.util.Map<java.lang.String,DescriptorBean> extensibleModuleDescriptors) throws weblogic.utils.compiler.ToolFailureException
weblogic.application.compiler.ToolsModuleExtension
merge
in interface weblogic.application.compiler.ToolsModuleExtension
extensibleModuleDescriptors
- A map of such descriptors parsed by the
extensible module and rest of the module extensions that have been merged
so far. The module extension may read values from the map and
override some of the descriptors with annotation information. In that case
module extension must return the same descriptor again, it's own mapweblogic.utils.compiler.ToolFailureException
public void write() throws weblogic.utils.compiler.ToolFailureException
weblogic.application.compiler.ToolsModuleExtension
write
in interface weblogic.application.compiler.ToolsModuleExtension
weblogic.utils.compiler.ToolFailureException
protected void writeDescriptors(weblogic.application.compiler.ToolsContext ctx) throws weblogic.utils.compiler.ToolFailureException
weblogic.utils.compiler.ToolFailureException
private void processAnnotations(EjbJarBean ejbJarBean) throws weblogic.utils.compiler.ToolFailureException
weblogic.utils.compiler.ToolFailureException
private java.util.Map<java.lang.String,DescriptorBean> processDDs()
private boolean wseeAnnotationsEnabled(EjbJarBean ejbBean)
private void backupDescriptors(weblogic.utils.jars.VirtualJarFile moduleVjf) throws weblogic.utils.compiler.ToolFailureException
weblogic.utils.compiler.ToolFailureException
private void writeOut(java.lang.String uri, DescriptorBean bean) throws weblogic.utils.compiler.ToolFailureException
weblogic.utils.compiler.ToolFailureException