| java.lang.Object org.apache.beehive.controls.system.ejb.internal.EJBJarDescriptorHandler
EJBJarDescriptorHandler | public class EJBJarDescriptorHandler (Code) | | This class is used by the EJBControlAssembler to modify an ejb-jar.xml file's ejb-ref descriptors.
The assembler will only invoke this class if the EJBControl's @EJBHome.ejbLink() annotation attribute
has been set.
The EjbJar assembler walks the ejb-jar.xml DOM tree looking for any session / entity beans
which contain ejb-ref or ejb-local-ref elements. If an ejb-ref is found which matches the
ejbRefName from the EJBInfo helper class it is removed and then re-created using the proper values.
|
assemble | public void assemble(Document document, EJBInfo ejbInfo, String ejbLinkValue)(Code) | | Assemble entry point. Based on the type of EJBControl build a list of
DOM elements of the property type (either session or entity) and process
each entry in the list.
Parameters: document - DOM tree of an ejb-jar.xml file. Parameters: ejbInfo - Contains information about the EJB control. Parameters: ejbLinkValue - The ejb-link value for the EJBs. |
|
|