org.controlhaus.ejb
Class EJBControlAssembler

Object
  extended by EJBControlAssembler
All Implemented Interfaces:
ControlAssembler

public class EJBControlAssembler
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
EJBControlAssembler()
           
 
Method Summary
 void assemble(ControlAssemblyContext cac)
           
protected  void insertEJBLocalRefInEJBJar(SessionBeanType sessionBean, EJBInfo ei, String ejbLinkValue)
           
protected  void insertEJBLocalRefInWebApp(WebAppType webAppType, EJBInfo ei, String ejbLinkValue)
           
protected  void insertEJBRefInEJBJar(SessionBeanType sessionBean, EJBInfo ei, String ejbLinkValue)
           
protected  void insertEJBRefInWebApp(WebAppType webAppType, EJBInfo ei, String ejbLinkValue)
           
protected  void updateEJBJar(ControlAssemblyContext.EJBModule ejbCtx, EJBInfo ei, String ejbLinkValue)
           
protected  void updateWebApp(ControlAssemblyContext.WebAppModule webAppCcc, EJBInfo ei, String ejbLinkValue)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBControlAssembler

public EJBControlAssembler()
Method Detail

assemble

public void assemble(ControlAssemblyContext cac)
              throws ControlAssemblyException
Specified by:
assemble in interface ControlAssembler
Throws:
ControlAssemblyException

updateEJBJar

protected void updateEJBJar(ControlAssemblyContext.EJBModule ejbCtx,
                            EJBInfo ei,
                            String ejbLinkValue)
                     throws ControlAssemblyException
Throws:
ControlAssemblyException

insertEJBRefInEJBJar

protected void insertEJBRefInEJBJar(SessionBeanType sessionBean,
                                    EJBInfo ei,
                                    String ejbLinkValue)

insertEJBLocalRefInEJBJar

protected void insertEJBLocalRefInEJBJar(SessionBeanType sessionBean,
                                         EJBInfo ei,
                                         String ejbLinkValue)

updateWebApp

protected void updateWebApp(ControlAssemblyContext.WebAppModule webAppCcc,
                            EJBInfo ei,
                            String ejbLinkValue)
                     throws ControlAssemblyException
Throws:
ControlAssemblyException

insertEJBRefInWebApp

protected void insertEJBRefInWebApp(WebAppType webAppType,
                                    EJBInfo ei,
                                    String ejbLinkValue)

insertEJBLocalRefInWebApp

protected void insertEJBLocalRefInWebApp(WebAppType webAppType,
                                         EJBInfo ei,
                                         String ejbLinkValue)