You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2011/04/08 13:13:05 UTC

[jira] [Resolved] (DISCOVERY-7) [discovery] Discovery failed to load an inner class

     [ https://issues.apache.org/jira/browse/DISCOVERY-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi resolved DISCOVERY-7.
------------------------------------

       Resolution: Invalid
    Fix Version/s: 0.5
         Assignee: Simone Tripodi

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

> [discovery] Discovery failed to load an inner class
> ---------------------------------------------------
>
>                 Key: DISCOVERY-7
>                 URL: https://issues.apache.org/jira/browse/DISCOVERY-7
>             Project: Commons Discovery
>          Issue Type: Bug
>         Environment: Operating System: Solaris
> Platform: Sun
>            Reporter: oded
>            Assignee: Simone Tripodi
>             Fix For: 0.5
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira