You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "James Carman (JIRA)" <hi...@jakarta.apache.org> on 2006/05/06 18:47:21 UTC

[jira] Resolved: (HIVEMIND-169) Using JDK proxied service in ServicePropertyFactory doesn't work

     [ http://issues.apache.org/jira/browse/HIVEMIND-169?page=all ]
     
James Carman resolved HIVEMIND-169:
-----------------------------------

    Fix Version: 1.1
     Resolution: Fixed

> 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
>     Assignee: James Carman
>      Fix For: 1.1

>
> 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org