Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-357

EJBClient.isEJBProxy method returns false when testing an ejb proxy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.26.Final
    • None
    • None

    Description

      Need to investigate why isEJBProxy returns false in the following case, and add tests for this method.

      I've borrowed the code from EJBClient.isEJBProxy(), and it's not doing what I expected:

      22:24:23,819 INFO [stdout] (default task-1) object.getClass(): class de.example.GreeterResource$$$view1
      22:24:31,609 INFO [stdout] (default task-1) Proxy.isProxyClass(object.getClass()): false

      So GreeterResource$$$view1 isn't a proxy, even though its String representation is:

      Proxy for view class: de.example.GreeterResource of EJB: GreeterResource

      Attachments

        Issue Links

          Activity

            People

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: