Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=AVNSHARP-3 Here is an overview of the issue: --------------------------------------------------------------------- Key: AVNSHARP-3 Summary: Create a Java like Proxy/InvocationHandler Type: Task Status: Open Priority: Major Project: Avalon# Components: Castle Container Fix Fors: beta 1 Versions: beta 1 Assignee: hamilton verissimo Reporter: hamilton verissimo Created: Wed, 3 Mar 2004 5:48 AM Updated: Wed, 3 Mar 2004 5:48 AM Description: CLI's Proxies are a bit different from Java proxies. Proxiable objects need to extends MarshalByRefObject or ContextBoundObject. Proxy definition goes through attributes. This proposal is to create a component that emits the necessary IL to generate a proxy for a set of interfaces and uses a invocation handler implementation to dispatch methods. Something like: object myproxy = DynamicProxy.create( new Type[]{ typeof(interface1) }, new InvoHandlerImpl()); // At this point myproxy implements interface1 and will dispatch // method invocation to InvoHandlerImpl Seems simple but will use reflection.emit to generate IL code, and this is like writing ASM :-( --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
