dynamic-proxy
Dynamic proxy and checked exceptions
How can I make my dynamic proxy throw开发者_如何转开发 checked exceptions? I need a transparent wrapper for an interface which sometimes throws checked exceptions such as IOException. Is it possible[详细]
2023-01-16 00:28 分类:问答how to reattach singleton Spring beans upon deserialization
I want to reinject singleton-scoped dependencies into prototype Spring beans, after they have been deserialized.[详细]
2023-01-11 03:05 分类:问答How to "really" down-cast a DynamicProxy back to its original type (to send over WCF)
OK, the situation is we have a class, PatientDto, and a DynamicProxy generated by Castle, PatientDtoProxy.[详细]
2023-01-10 04:20 分类:问答Is it possible to add a property to a type, via a DynamicProxy?
I\'m using Castle DynamicProxy to create a proxy of a given type at runtime - including a couple mixins.[详细]
2023-01-09 19:05 分类:问答Alternatives to java.lang.reflect.Proxy for creating proxies of abstract classes (rather than interfaces)
According to the document开发者_开发知识库ation: [java.lang.reflect.]Proxy provides static methods for[详细]
2023-01-08 06:36 分类:问答EF 4.0 Dynamic Proxies POCO Object Does not match target type
I am using EF 4.0 and POCO\'s.I stumbled across this error while inserting to records into the data base.[详细]
2023-01-04 03:52 分类:问答How do I replace a method implementation at runtime?
I\'d like to have property getters and methods that I can decorate with my own custom attribute and based on the presence of that attribute replace the method bodies with a different implementation.Al[详细]
2023-01-03 15:59 分类:问答Intercept Properties With Castle Windsor IInterceptor
Does anyone have a suggestion on a better way to intercept a properties with Castle DynamicProxy? Specifically, I need the PropertyInfo that I\'m intercepting, but it\'s not directly on the IInvocat[详细]
2023-01-01 18:57 分类:问答Can I make the compiler and the CLR ignore non implemented interfaces on my types?
I would like to define a type implementing a certain interface, however I would only implement it in a proxy at runtime. I can see two obstacles in this scenario :[详细]
2022-12-29 22:17 分类:问答
加载中,请稍侯......