OK.It seems replication of the UserSessionObject wasnt happening in the first place..When the put was done only once in the hashmap,that was the only time the object was replicated.After that it was just modification to the POJO(UserSessionObject).
So the question is, do I need to Instrument the UserSessionObject explicitly?
If Yes,then I would want to do it using an XML.
So I would create the jboss-aop.xml and make a field entry for UsersessionObject class.
Do I need to do anything in the propertyconfigurator to tell it the location of the aop.xml file?
Yes, yes, and yes. :-) The best way to do it is to look at the example that bundles in 1.2.4 release. it has both annotation and xml examples there.