-
1. Re: findMethodByHash &
uwil0m Nov 19, 2004 3:20 PM (in response to uwil0m)The problem is that I am defining:
call(javax.microedition.io.*->*(..))
There is an interface javax.microedition.io.Connection in the package. My class is using javax.wireless.messaging.MessageConnection that extends javax.microedition.io.Connection. The code in bold below is being changed by JBossAOP, for javax.wireless.messaging.MessageConnection extends javax.microedition.io.Connection. But the probrem is that resolveCallerMethodInfo can not find the method close() in javax.wireless.messaging.MessageConnection, for close() is declared in javax.microedition.io.Connection. Then the exception is thrown. The method findMethodByHash only tries to find the method in the superclass, but javax.wireless.messaging.MessageConnection is an interface and don't have superclasses. It only extends interfaces (Class.getInterfaces()).
javax.wireless.messaging.MessageConnection conn....
...
...
conn.close();
Thanks,
Marcio Alves -
2. Re: Convert Postnuke to Nukes on JBoss
theute Nov 19, 2004 3:35 PM (in response to uwil0m)There is not. It is lot of work to convert something in PHP into something in Java.
The templates should easily be reused though.
If you are thinking about porting a module please let us know. At this stage it may be smarter to think about "porting" modules to JBoss Portal (aka Nukes2) as there is also some work to port a module from Nukes 1 to Nukes 2.