Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/lookup
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28599
Modified Files:
LookupUtilTagsHandler.java
Log Message:
Remove experimental proxy code. It's better handled with MockEJB.
Index: LookupUtilTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/lookup/LookupUtilTagsHandler.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** LookupUtilTagsHandler.java 5 Aug 2003 05:50:05 -0000 1.9
--- LookupUtilTagsHandler.java 26 Jan 2004 01:11:11 -0000 1.10
***************
*** 139,186 ****
}
- /**
- * Returns true if clazz is a stateless session bean and localProxy config param
is true, false otherwise.
- *
- * @param clazz Description of Parameter
- * @return The StatelessSession value
- * @exception XDocletException
- */
- public boolean generateLocalProxy(XClass clazz) throws XDocletException
- {
- LookupObjectSubTask lookupSubtask = ((LookupObjectSubTask)
DocletContext.getInstance().getSubTaskBy(DocletTask.getSubTaskName(LookupObjectSubTask.class)));
-
- return (SessionTagsHandler.isSession(clazz) &&
lookupSubtask.getLocalProxies());
- }
-
- /**
- * Evaluate the body block if current class is a stateless session bean and
localProxy config param is true.
- *
- * @param template The body of the block tag
- * @exception XDocletException
- * @see #generateLocalProxy(xjavadoc.XClass)
- * @doc.tag type="block"
- */
- public void ifGenerateLocalProxy(String template) throws XDocletException
- {
- if (generateLocalProxy(getCurrentClass())) {
- generate(template);
- }
- }
-
- /**
- * Evaluate the body block if current class is not stateless session bean and
localProxy config param is true.
- *
- * @param template The body of the block tag
- * @exception XDocletException
- * @see #generateLocalProxy(xjavadoc.XClass)
- * @doc.tag type="block"
- */
- public void ifNotGenerateLocalProxy(String template) throws XDocletException
- {
- if (!generateLocalProxy(getCurrentClass())) {
- generate(template);
- }
- }
-
}
--- 139,142 ----
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel