Methods Summary |
---|
void | addEjbBundle(java.lang.String name)Adds an ejb bundle to the list.
_ejbBundles.add(name);
|
void | addWebBundle(java.lang.String name)Adds a web bundle to the list.
_webBundles.add(name);
|
public java.util.List | getEjbBundles()Returns the name of the ejb bundles that have web services.
return _ejbBundles;
|
public java.lang.String | getName()Returns the name of the application.
return _name;
|
java.lang.String | getPersistentValue()Returns a string representation of the ejb and web bundles.
StringBuffer sb = new StringBuffer();
for (Iterator iter=_ejbBundles.iterator(); iter.hasNext();) {
String ejb = (String) iter.next();
sb.append(EJB_KEY);
sb.append(ejb);
sb.append(DELIM);
}
for (Iterator iter=_webBundles.iterator(); iter.hasNext();) {
String web = (String) iter.next();
sb.append(WEB_KEY);
sb.append(web);
sb.append(DELIM);
}
String persistentValue = null;
int length = sb.length();
if (length > 0) {
String val = sb.toString();
persistentValue = val.substring(0, length-1);
}
return persistentValue;
|
public java.util.List | getWebBundles()Returns the name of the web bundles that have web services.
return _webBundles;
|
boolean | removeEjbBundle(java.lang.String name)Removes an ejb bundle from the list.
return _ejbBundles.remove(name);
|
boolean | removeWebBundle(java.lang.String name)Removes a web bundle from the list.
return _webBundles.remove(name);
|