[jboss-dev-forums] [Design the new POJO MicroContainer] - isCMP1x()
scott.stark@jboss.org
do-not-reply at jboss.com
Thu Nov 8 17:53:19 EST 2007
Alexey, this update to return true for a null cmp-version when its not a 2x ejb also returns true for a 3x ejb deployment. Should this also be checking for isEJB3x() and returning false if that is true?
| public boolean isCMP1x()
| {
| if(cmpVersion == null)
| {
| if(getEjbJarMetaData().isEJB2x())
| return false;
| else
| return true;
| }
| return "1.x".equals(cmpVersion);
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103127#4103127
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103127
More information about the jboss-dev-forums
mailing list