Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26236/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces
Modified Files:
LocalHomeInterfacePlugin.java LocalInterfaceBase.java
RemoteHomeInterfacePlugin.java RemoteInterfacePlugin.java
LocalInterfacePlugin.java RemoteInterfaceBase.java
Log Message:
- EjbConfig is now a dummy plugin. Eases doc generation and simplifies
dispersion.
- View-types for methods cannot be wider than supported by bean. They'll be
bitwise masked.
- Updated test-cases eliminating unsuported view references.
- ...
Index: RemoteInterfaceBase.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteInterfaceBase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RemoteInterfaceBase.java 26 Aug 2005 17:52:30 -0000 1.1
--- RemoteInterfaceBase.java 6 Sep 2005 01:49:59 -0000 1.2
***************
*** 44,49 ****
super(templateEngine, metadataProvider, writerMapper);
- EjbRuntime.init(config, metadataProvider);
-
this.config = config;
this.ejbUtils = new EjbUtils();
--- 44,47 ----
***************
*** 60,64 ****
return ejbUtils.shouldGenerate(metadata) &&
EjbUtils.hasFlag(ejbUtils.getViewType(javaClass), EjbUtils.REMOTE) &&
! !EjbUtils.hasFlag(ejbUtils.getBeanType(javaClass),
EjbUtils.BEAN_MESSAGE_DRIVEN);
}
--- 58,62 ----
return ejbUtils.shouldGenerate(metadata) &&
EjbUtils.hasFlag(ejbUtils.getViewType(javaClass), EjbUtils.REMOTE) &&
! !ejbUtils.isMessageDrivenBean(javaClass);
}
Index: RemoteInterfacePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteInterfacePlugin.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** RemoteInterfacePlugin.java 30 Aug 2005 00:34:33 -0000 1.12
--- RemoteInterfacePlugin.java 6 Sep 2005 01:49:59 -0000 1.13
***************
*** 38,42 ****
public Collection getInterfaceMethods(final JavaClass clazz) {
! return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, "remote");
}
}
\ No newline at end of file
--- 38,42 ----
public Collection getInterfaceMethods(final JavaClass clazz) {
! return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, EjbUtils.REMOTE);
}
}
\ No newline at end of file
Index: RemoteHomeInterfacePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteHomeInterfacePlugin.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RemoteHomeInterfacePlugin.java 30 Aug 2005 00:34:33 -0000 1.2
--- RemoteHomeInterfacePlugin.java 6 Sep 2005 01:49:59 -0000 1.3
***************
*** 50,54 ****
public Collection getInterfaceMethods(final JavaClass clazz) {
! return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, "remote");
}
}
--- 50,54 ----
public Collection getInterfaceMethods(final JavaClass clazz) {
! return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, EjbUtils.REMOTE_HOME);
}
}
Index: LocalHomeInterfacePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalHomeInterfacePlugin.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** LocalHomeInterfacePlugin.java 30 Aug 2005 00:34:33 -0000 1.2
--- LocalHomeInterfacePlugin.java 6 Sep 2005 01:49:59 -0000 1.3
***************
*** 51,55 ****
public Collection getInterfaceMethods(final JavaClass clazz) {
! return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, "local");
}
}
\ No newline at end of file
--- 51,55 ----
public Collection getInterfaceMethods(final JavaClass clazz) {
! return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, EjbUtils.LOCAL_HOME);
}
}
\ No newline at end of file
Index: LocalInterfaceBase.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalInterfaceBase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LocalInterfaceBase.java 26 Aug 2005 17:52:30 -0000 1.1
--- LocalInterfaceBase.java 6 Sep 2005 01:49:59 -0000 1.2
***************
*** 44,49 ****
super(templateEngine, metadataProvider, writerMapper);
- EjbRuntime.init(config, metadataProvider);
-
this.config = config;
this.ejbUtils = new EjbUtils();
--- 44,47 ----
***************
*** 76,80 ****
return ejbUtils.shouldGenerate(metadata) &&
EjbUtils.hasFlag(ejbUtils.getViewType(javaClass), EjbUtils.LOCAL) &&
! !EjbUtils.hasFlag(ejbUtils.getBeanType(javaClass),
EjbUtils.BEAN_MESSAGE_DRIVEN);
}
}
\ No newline at end of file
--- 74,78 ----
return ejbUtils.shouldGenerate(metadata) &&
EjbUtils.hasFlag(ejbUtils.getViewType(javaClass), EjbUtils.LOCAL) &&
! !ejbUtils.isMessageDrivenBean(javaClass);
}
}
\ No newline at end of file
Index: LocalInterfacePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalInterfacePlugin.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** LocalInterfacePlugin.java 30 Aug 2005 00:34:33 -0000 1.13
--- LocalInterfacePlugin.java 6 Sep 2005 01:49:59 -0000 1.14
***************
*** 48,52 ****
public Collection getInterfaceMethods(final JavaClass clazz) {
! return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, "local");
}
}
\ No newline at end of file
--- 48,52 ----
public Collection getInterfaceMethods(final JavaClass clazz) {
! return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, EjbUtils.LOCAL);
}
}
\ No newline at end of file
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits