Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-356

Make jndi proxy creation more flexible and, in the aries context, optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2
    • JNDI
    • None

    Description

      There are a lot of cases when the current proxy creation fails, such as when a class is in the set of interfaces we're trying to proxy. We should:

      1.allow using cglib to proxy classes.
      2. if the class can't be proxied, and a proxy is required (in the osgi: namespace) leave it out
      3. (behavior up for debate) in the aries:services namespace, if there is a problem proxying, just return the raw service.

      An example of when a service can't be proxied is it is a final class such as javax.mail.Session.

      There's discussion on the dev list about what is appropriate for (3). I'm committing my proposal to give us something concrete to discuss.

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: