i can't quite figure out how use dynamic proxy how implement multiple interfaces @ same time. using third party library have like
interface isubscribe<t> { consume(t msg); } i dynamically create class simultaneously implements
isubscribe<foo>, isubscribe<bar> and each 1 calls logger.log(msg) (the type parameter on dynamic).
i can't figure out quite how this.
the proxy creation methods have type[] parameter called additionalinterfacestoproxy. pass interfaces want proxy through there.
Comments
Post a Comment