User: vharcq
Date: 02/04/14 23:16:43
Modified: core/samples/src/java/test/ejb CustomerBean.java
CustomerBMPBean.java
Log:
Being more tricky on ejbPostCreate auto adding feature (that shows the need for a
equals/hashCode method in xajavadoc's MethodImpl
Revision Changes Path
1.49 +3 -9 xdoclet/core/samples/src/java/test/ejb/CustomerBean.java
Index: CustomerBean.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/samples/src/java/test/ejb/CustomerBean.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -w -r1.48 -r1.49
--- CustomerBean.java 10 Apr 2002 22:21:27 -0000 1.48
+++ CustomerBean.java 15 Apr 2002 06:16:43 -0000 1.49
@@ -245,15 +245,9 @@
}
}
- /**
- * Post create for create customer.
- *
- * @see #ejbCreate(CustomerNormalValue)
- */
- public void ejbPostCreate(CustomerNormalValue data)
- throws CreateException
- {
- }
+// Let's test the ejbPC auto add feature
+// public void ejbPostCreate(CustomerNormalValue data)
+// throws CreateException {}
/**
* Create customer.
1.10 +8 -0 xdoclet/core/samples/src/java/test/ejb/CustomerBMPBean.java
Index: CustomerBMPBean.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/core/samples/src/java/test/ejb/CustomerBMPBean.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -r1.9 -r1.10
--- CustomerBMPBean.java 8 Apr 2002 13:18:02 -0000 1.9
+++ CustomerBMPBean.java 15 Apr 2002 06:16:43 -0000 1.10
@@ -39,6 +39,14 @@
throw new IllegalStateException("Creation of Customer is not possible");
}
+ /**
+ * @ejb.create-method
+ */
+ public Object ejbCreate(CustomerNormalValue detail)
+ throws CreateException{
+ throw new IllegalStateException("Creation of Customer is not possible");
+ }
+
public void ejbPostCreate(CustomerData detail){}
/**
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel