You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/07/22 21:20:51 UTC

[jira] Created: (GERONIMO-797) proxies in collection references aren't registered with ProxyManager

proxies in collection references aren't registered with ProxyManager
--------------------------------------------------------------------

         Key: GERONIMO-797
         URL: http://issues.apache.org/jira/browse/GERONIMO-797
     Project: Geronimo
        Type: Bug
    Versions: 1.0-M5    
    Reporter: David Jencks
 Assigned to: Dain Sundstrom 
     Fix For: 1.1


Apparently proxies for collection valued references aren't registered with the proxy manager.  I haven't verified this in detail but I couldn't get the ObjectName back out of the proxies in a collection when I tried in JettyModuleBuilder for GERONIMO-790.

-- 
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


[jira] Resolved: (GERONIMO-797) proxies in collection references aren't registered with ProxyManager

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-797?page=all ]
     
Dain Sundstrom resolved GERONIMO-797:
-------------------------------------

    Fix Version:     (was: 1.1)
     Resolution: Fixed

Proxies are registered in the BasicProxyManager:188

        public synchronized Object createProxy(ObjectName target) {
            assert target != null: "target is null";

            Callback callback = getMethodInterceptor(proxyType, kernel, target);

            // @todo trap CodeGenerationException indicating missing no-arg ctr
            enhancer.setCallbacks(new Callback[]{callback});
            Object proxy = enhancer.create();

            interceptors.put(proxy, callback);  <=== registered here
            return proxy;
        }


> proxies in collection references aren't registered with ProxyManager
> --------------------------------------------------------------------
>
>          Key: GERONIMO-797
>          URL: http://issues.apache.org/jira/browse/GERONIMO-797
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0-M5
>     Reporter: David Jencks
>     Assignee: Dain Sundstrom

>
> Apparently proxies for collection valued references aren't registered with the proxy manager.  I haven't verified this in detail but I couldn't get the ObjectName back out of the proxies in a collection when I tried in JettyModuleBuilder for GERONIMO-790.

-- 
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


[jira] Closed: (GERONIMO-797) proxies in collection references aren't registered with ProxyManager

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-797?page=all ]
     
Dain Sundstrom closed GERONIMO-797:
-----------------------------------


> proxies in collection references aren't registered with ProxyManager
> --------------------------------------------------------------------
>
>          Key: GERONIMO-797
>          URL: http://issues.apache.org/jira/browse/GERONIMO-797
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0-M5
>     Reporter: David Jencks
>     Assignee: Dain Sundstrom

>
> Apparently proxies for collection valued references aren't registered with the proxy manager.  I haven't verified this in detail but I couldn't get the ObjectName back out of the proxies in a collection when I tried in JettyModuleBuilder for GERONIMO-790.

-- 
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