Hi,

I've got the following classes:

public class Person {
  |     protected String first_name;
  |     protected String last_name;
  | ...

public class User extends Person {
  |     protected String username;
  |     protected String password;
  |     protected Device device;
  | ...

public class Device {
  |     protected String vendor;
  |     protected String modelID;
  | ...

When duplicating a User, I get the right values for the Device members, and the 
local variables of User. The inherited values of Person are not being 
duplicated.

I'm running the application on JDK5.0, with the -javaagent parameter 
-javaagent:d:\java\JBC14\lib-50\jboss-aop-jdk50.jar

The jboss-aop.xml:
<?xml version="1.0" encoding="UTF-8"?>
  | <aop>
  |    <prepare expr="field(* Device->*)" />
  |    <prepare expr="field(* $instanceof{Person}->*)" />
  | </aop>

Any help will be appreciated.

Thanks!
   Gilad.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954237#3954237

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954237

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to