2 Replies Latest reply on Sep 22, 2003 8:46 AM by Eric Jain

    Mixin serialization

    Eric Jain Newbie

      Does JBoss AOP serialize introduced, non-transient fields?

        • 1. Re: Mixin serialization
          Bill Burke Master

          > Does JBoss AOP serialize introduced, non-transient
          > fields?


          We cannot introduce fields, only mix-in classes.

          Mix-in classes are not serialized. I may make this optional. The reason for this is because I can't know whether or not if you're serializing this class over-the-wire, and if the remote machine has also has JBoss AOP or even the mixin defined.

          Bill

          • 2. Re: Mixin serialization
            Eric Jain Newbie

            > Mix-in classes are not serialized. I may make this
            > optional.

            Yes, that would be reasonable. For partially serializable mixins, it just occurred to me, I could then use the transient keyword to mark disposable fields.