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

@Ext annotation to specify an externalizer for a class

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: