Uploaded image for project: 'JBoss Marshalling'
  1. JBoss Marshalling
  2. JBMAR-20

@Ext annotation to specify an externalizer for a class

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.1.0.CR1
    • None
    • Marshalling API
    • None
    • Low

    Description

      There should be an @Ext annotation which can be used to specify an externalizer class for another class. Kinda like this:

      @Ext(TheExternalizer.class)
      public class MyNotSerializableClass {
      ...
      public static final class TheExternalizer implements Externalizer

      { // nested classes can see private members of their enclosing class }

      }

      @Ext would only accept class arguments that extend Externalizer.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: