Commons Discovery
  1. Commons Discovery
  2. DISCOVERY-7

[discovery] Discovery failed to load an inner class

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Labels:
      None
    • Environment:

      Operating System: Solaris
      Platform: Sun

      Description

      I am working with Axis. I tried to set the SecureSocketFactory by setting the
      service under META-INF/services.
      My implementation class was an inner class (public static), discovery keeped
      failing (loading the default impl class).
      I used the fully qualified name in the service definition. (should I have used
      the directory structure, with the "$" sign for internal classes?)
      My workaround was to create my impl class not as an internal class.

        Activity

        Hide
        oded added a comment -

        If you are not planning on a new version soon you can document it somewhere.
        It would be helpful.

        Show
        oded added a comment - If you are not planning on a new version soon you can document it somewhere. It would be helpful.
        Hide
        Henri Yandell added a comment -

        It's a chicken/egg issue - no one is paying much attention to discovery so there is no one to say that a new version is not being planned.

        We are going to put a 0.4 out soon to address the failed 0.3 release, but I don't think this is going to be fixed in there.

        Show
        Henri Yandell added a comment - It's a chicken/egg issue - no one is paying much attention to discovery so there is no one to say that a new version is not being planned. We are going to put a 0.4 out soon to address the failed 0.3 release, but I don't think this is going to be fixed in there.
        Hide
        Simone Tripodi added a comment -

        it is enough that inside the /META-INF/services/com.acme.MyInterface the service is declared as com.acme.MyImpl$MyIntercateImpl

        Show
        Simone Tripodi added a comment - it is enough that inside the /META-INF/services/com.acme.MyInterface the service is declared as com.acme.MyImpl$MyIntercateImpl
        Hide
        Simone Tripodi added a comment -

        included in discovery-0.5 release

        Show
        Simone Tripodi added a comment - included in discovery-0.5 release

          People

          • Assignee:
            Simone Tripodi
            Reporter:
            oded
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development