This is not configurable in JBoss. Here is the relevant code that gets the
isModified method:

isModified = container.getBeanClass().getMethod("isModified", new
Class[0]);
if (!isModified.getReturnType().equals(Boolean.TYPE))
   isModified = null; // Has to have "boolean" as return type!

The only valid signature for the method is public boolean isModified()

Alex


|--------+-------------------------------------->
|        |          Syed                        |
|        |          <syed.mustaffa@igentechnolog|
|        |          y.com>                      |
|        |          Sent by:                    |
|        |          [EMAIL PROTECTED]|
|        |          eforge.net                  |
|        |                                      |
|        |                                      |
|        |          07/13/01 05:00 AM           |
|        |          Please respond to jboss-user|
|        |                                      |
|--------+-------------------------------------->
  
>-----------------------------------------------------------------------------------------------------------|
  |                                                                                    
                       |
  |       To:     [EMAIL PROTECTED]                                     
                       |
  |       cc:                                                                          
                       |
  |       Subject:     [JBoss-user] isModified Method                                  
                       |
  
>-----------------------------------------------------------------------------------------------------------|




Is there anyway to configure the name of the method "isModified".

Currently we are using weblogic and weblogic has a tag to indicate the name
of this method.
So our method name is "getIsModified" and if we want to use our ejbs in
JBoss, we would have to modify our
source code to change the method name to "isModified".



            Thanks & Best Regards,
         Mustaffa Syed Meerkasim.



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user





_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to