Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-77

DefaultJndiBindingPolicy must be Serializable

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta30
    • None
    • None
    • None

      Because Decorators may associate a DefaultJndiBindingPolicy with JBoss*BeanMetadata objects, and these objects must be Serializable, the DefaultJndiBindingPolicy implementations themselves must also be Serializable.

      Else errors, as exhibited by Seam AS TestSuite org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase.testExample

      java.io.NotSerializableException: org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy
      ...
      at org.jboss.deployers.plugins.attachments.AttachmentsImpl.writeExternal(AttachmentsImpl.java:145)

      Targeted for Beta30.

              starksm64 Scott Stark (Inactive)
              arubinge@redhat.com Andrew Rubinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: