Closed GoogleCodeExporter closed 8 years ago
If you write code like so, no problems:
proxyFactory.defineProxy(LoginService, BasicMethodInvocationInterceptor,
FlexGlobals.topLevelApplication.loaderInfo.applicationDomain);
Original comment by sentimen...@gmail.com
on 19 Dec 2011 at 3:47
Indeed correct, bytecode type information is stored per application domain
(since its possible to load classes with the same name yet different
implementations into separate application domains.)
It is therefore necessary to provide the defineProxy() method with the correct
applicationDomain instance.
I'll try and make this clearer in the documentation.
cheers,
Roland
Original comment by ihatelivelyids
on 19 Dec 2011 at 7:02
IMHO. It might be better then to make the second argument obligatory or to
throw a more descriptive Error in order to point the user in the right
direction.
Original comment by sentimen...@gmail.com
on 21 Dec 2011 at 11:12
Hey there, sorry for the really late reply here, but I've added a more
descriptive error. It know suggests to check whether the defineProxy() method
receives the correct applicationdomain instance.
I hope that'll make things a bit clearer.
Original comment by ihatelivelyids
on 23 Mar 2012 at 4:40
Thanks Bro
Original comment by sentimen...@gmail.com
on 26 Mar 2012 at 11:37
Original issue reported on code.google.com by
sentimen...@gmail.com
on 19 Dec 2011 at 3:47