Announcement Announcement Module
Collapse
No announcement yet.
aspect advice on deserialized objects? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • aspect advice on deserialized objects?

    Since I'm new to Spring AOP, the following are probably stupid questions, but here goes anyway. I would like to provide aspect advice on an object that has been deserialized from a service call to a remote source. As I understand it, the object must be known to Spring before Spring AOP can be used.

    1) is this even possible without using some sort of FactoryBean that basically clones the incoming object?

    2) what are the alternative approaches to cloning?

    TIA,
    Rich

  • #2
    You will need to use AspectJ weaving for this functionality. Take a look at source code for aspects mentioned in http://blog.springsource.com/main/20...ction-feature/ as it involves injecting dependencies on deserialized objects.

    -Ramnivas

    Comment

    Working...
    X