Using JDK proxied service in ServicePropertyFactory doesn't work
----------------------------------------------------------------

         Key: HIVEMIND-169
         URL: http://issues.apache.org/jira/browse/HIVEMIND-169
     Project: HiveMind
        Type: Bug
  Components: library  
    Versions: 1.1    
    Reporter: Aj Gregory


Inside ServicePropertyFactory.addInfrastructure line 102:

Class targetServiceClass = ClassFabUtils.getInstanceClass(targetService, 
serviceInterface);

According to javadoc for ClassFabUtils.getInstanceClass if targetService is a 
JDK proxy this function will return serviceInterface, which isn't right since 
serviceInterface is the interface class for the property service you are trying 
to create NOT the interface for the targetService.

I'm trying to use this with a service that uses the hivetranse UserServiceModel 
which is using JDK proxys 
(http://hivetranse.sourceforge.net/javadoc/net/sourceforge/hivelock/UserServiceModel.html).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to