com.bea.control
Class EJB3ControlAssembler

java.lang.Object
  extended by com.bea.control.EJB3ControlAssembler
All Implemented Interfaces:
ControlAssembler

public class EJB3ControlAssembler
extends Object
implements ControlAssembler

The EJBControl needs to inject EJB reference entries into the DD of its containing module for cases where ejb-link is used.


Constructor Summary
EJB3ControlAssembler()
           
 
Method Summary
 void assemble(ControlAssemblyContext cac)
          Assembly entry point.
protected  void updateEJBJar(ControlAssemblyContext.EJBModule ejbAssemblyContext, com.bea.control.ejb3control.internal.EJB3Info ejbInfo, String ejbLinkValue)
          Update an ejb-jar dd.
protected  void updateWebApp(ControlAssemblyContext.WebAppModule webAssemblyContext, com.bea.control.ejb3control.internal.EJB3Info ejbInfo, String ejbLinkValue)
          Update a web.xml dd.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJB3ControlAssembler

public EJB3ControlAssembler()
Method Detail

assemble

public void assemble(ControlAssemblyContext cac)
              throws ControlAssemblyException
Assembly entry point. Only modifies the deployment descriptor if an ejbLink member has been specified for the SessionEJB3Control.EJBLookup annotation.

Specified by:
assemble in interface ControlAssembler
Parameters:
cac - ControlAssemblyContext
Throws:
ControlAssemblyException

updateEJBJar

protected void updateEJBJar(ControlAssemblyContext.EJBModule ejbAssemblyContext,
                            com.bea.control.ejb3control.internal.EJB3Info ejbInfo,
                            String ejbLinkValue)
                     throws ControlAssemblyException
Update an ejb-jar dd.

Parameters:
ejbAssemblyContext - Assembly context.
ejbInfo - EJB3Info instance.
ejbLinkValue - ejbLink value from the EJBLookup annotation.
Throws:
ControlAssemblyException - on error.

updateWebApp

protected void updateWebApp(ControlAssemblyContext.WebAppModule webAssemblyContext,
                            com.bea.control.ejb3control.internal.EJB3Info ejbInfo,
                            String ejbLinkValue)
                     throws ControlAssemblyException
Update a web.xml dd.

Parameters:
webAssemblyContext - Control assembly context.
ejbInfo - EJB3Info instance.
ejbLinkValue - ejbLink value from the EJBLookup annotation.
Throws:
ControlAssemblyException - on error.