Update of
/cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1879/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb
Modified Files:
WebSphereSubTask.java
Log Message:
XDT-1192: Add support for defining a currentBackendId in the websphere-ant-task
Index: WebSphereSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/WebSphereSubTask.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** WebSphereSubTask.java 15 Nov 2004 00:19:33 -0000 1.9
--- WebSphereSubTask.java 29 Dec 2004 15:45:14 -0000 1.10
***************
*** 20,23 ****
--- 20,24 ----
* <ul>
* <li> datasource</li>
+ * <li> currentBackendId</li>
* </ul>
* </p>
***************
*** 48,51 ****
--- 49,57 ----
private String datasource;
+ /**
+ * A member for the current backend id
+ */
+ private String currentBackendId;
+
public WebSphereSubTask()
{
***************
*** 64,70 ****
/**
* Sets the default CMP Datasource
*
! * @param datasource The new default CMP Datasource
*/
public void setDatasource(String datasource)
--- 70,87 ----
/**
+ * Gets the current backend id
+ *
+ * @return The current backend id
+ */
+ public String getCurrentBackendId()
+ {
+ return currentBackendId;
+ }
+
+ /**
* Sets the default CMP Datasource
*
! * @param datasource The new default CMP Datasource
! * @ant.not-required No.
*/
public void setDatasource(String datasource)
***************
*** 74,77 ****
--- 91,105 ----
/**
+ * Sets the current backend id. This parameter is used to point out the
id of the current CMP mapping.
+ *
+ * @param backendId The current backend id
+ * @ant.not-required No.
+ */
+ public void setCurrentBackendId(String backendId)
+ {
+ this.currentBackendId = backendId;
+ }
+
+ /**
* Called to validate configuration parameters.
*
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel