Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/testapp-ejb/src/main/java/org/xdoclet/testapp/ejb/beans
In directory
sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27879/testapp-ejb/src/main/java/org/xdoclet/testapp/ejb/beans
Modified Files:
ClientBean.java AccountBean.java
Log Message:
Fix bugs.
Index: ClientBean.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/testapp-ejb/src/main/java/org/xdoclet/testapp/ejb/beans/ClientBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ClientBean.java 6 Oct 2005 13:49:09 -0000 1.3
--- ClientBean.java 7 Jun 2006 01:44:13 -0000 1.4
***************
*** 1,31 ****
! /*
! * Copyright (c) 2005
! * XDoclet Team
! * All rights reserved.
! */
! package org.xdoclet.testapp.ejb.beans;
!
! import java.util.Collection;
!
! import javax.ejb.EntityBean;
!
! /**
! * This is part of the common test application for all ejb-related
! * XDoclet plugin. Vendor-specific tags should be added herein.
! *
! * @ejb.pk pattern="{0}PrimaryKey"
! * @ejb.home local-pattern="{0}LocalHomeIFace"
remote-pattern="{0}RemoteHomeIFace"
! * @ejb.interface local-pattern="{0}LocalIFace" pattern="{0}IFace"
! *
! * @author Diogo Quintela
! * @version $Revision$
! */
! public abstract class ClientBean extends BaseClientBean implements EntityBean
{
! /**
! * @ejb.interface-method view-type="local"
! * @ejb.relation name="user-accounts" role-name="user"
! *
! * @return Collection of [EMAIL PROTECTED] AccountLocal}
! */
! public abstract Collection getAccounts();
}
\ No newline at end of file
--- 1,32 ----
! /*
! * Copyright (c) 2005
! * XDoclet Team
! * All rights reserved.
! */
! package org.xdoclet.testapp.ejb.beans;
!
! import java.util.Collection;
!
! import javax.ejb.EntityBean;
!
! /**
! * This is part of the common test application for all ejb-related
! * XDoclet plugin. Vendor-specific tags should be added herein.
! *
! * @ejb.pk pattern="{0}PrimaryKey"
! * @ejb.home local-pattern="{0}LocalHomeIFace"
remote-pattern="{0}RemoteHomeIFace"
! * @ejb.interface local-pattern="{0}LocalIFace" pattern="{0}IFace"
! * @ejb.transaction type="Supports"
! *
! * @author Diogo Quintela
! * @version $Revision$
! */
! public abstract class ClientBean extends BaseClientBean implements EntityBean
{
! /**
! * @ejb.interface-method view-type="local"
! * @ejb.relation name="user-accounts" role-name="user"
! *
! * @return Collection of [EMAIL PROTECTED] AccountLocal}
! */
! public abstract Collection getAccounts();
}
\ No newline at end of file
Index: AccountBean.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/testapp-ejb/src/main/java/org/xdoclet/testapp/ejb/beans/AccountBean.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** AccountBean.java 13 Dec 2005 03:55:38 -0000 1.12
--- AccountBean.java 7 Jun 2006 01:44:13 -0000 1.13
***************
*** 32,38 ****
* unchecked="true" role-names="admin"
* @ejb.permission role-names="normal-role" view-type="both"
*
* @ejb.interface extends="org.xdoclet.testapp.ejb.interfaces.Dummy"
! *
* @ejb.value-object name="Account"
*/
--- 32,39 ----
* unchecked="true" role-names="admin"
* @ejb.permission role-names="normal-role" view-type="both"
+ * @ejb.transaction type="Supports" method-intf="Remote"
*
* @ejb.interface extends="org.xdoclet.testapp.ejb.interfaces.Dummy"
! *
* @ejb.value-object name="Account"
*/
***************
*** 40,43 ****
--- 41,45 ----
/**
* @ejb.interface-method view-type="both"
+ * @ejb.transaction-method type="Required"
* @ejb.relation name="user-accounts" role-name="admin"
* @ejb.permission role-names="admin" view-type="both"
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits