| |
|
| java.lang.Object org.netbeans.modules.visualweb.ejb.EjbRefMaintainer
EjbRefMaintainer | public class EjbRefMaintainer (Code) | | This class is to maintain the ejb ref xml file the project-data/ejb-sources directory
author: cao |
EjbRefMaintainer | public EjbRefMaintainer(String ejbRefXmlFile)(Code) | | |
addToEjbRefXml | public void addToEjbRefXml(EjbGroup ejbGroup)(Code) | | Add the given ejb group to the ejb-refs.xml if not there yet
Parameters: ejbGroup - the ejb group to be added to the xml file |
findReferredEjbGroup | public EjbGroup findReferredEjbGroup(String jar)(Code) | | Finds the ejb group in the ejb-refs.xml for the given jar file
Parameters: jar - should be only the jar filename, not the whole path returns the ejb group which contains the given jar file |
removeFromEjbRefXml | public void removeFromEjbRefXml(ArrayList removedJars)(Code) | | Remove the ejb groups from the ejb-refs.xml if all the client jars in the group
are in given removed jars
Parameters: jars - a list of jar files. The jar files in the list should beonly the filename (not the whole path) |
updateEjbRefXml | public void updateEjbRefXml(EjbGroup oldGrp, EjbGroup modGrp)(Code) | | Updates the given ejb group
Parameters: group - the ejb group to be updated |
|
|
|