tag:blogger.com,1999:blog-18834385.post6616814879615258838..comments2022-12-05T06:43:29.943-05:00Comments on The Programming Delusion: ContextFinder in Eclipse is brokenBJ Hargravehttp://www.blogger.com/profile/05791451307210957698noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-18834385.post-91634198801636189272008-06-06T18:41:00.000-04:002008-06-06T18:41:00.000-04:00Hello!I have read your post at http://forum.java.s...Hello!<BR/>I have read your post at http://forum.java.sun.com/thread.jspa?threadID=5195734 and I have exactly the same problem! I tried to understand the problem but I am not able to get it working.<BR/><BR/>I am also calling code inside a JMX Standard MBean from another plugin but I always get a exception thrown that the classloader does not find the class! What can I do?!?<BR/><BR/>Please help!<BR/>Thanks ;)!<BR/>Best regards,<BR/>Matthiasmattrehttps://www.blogger.com/profile/14011358598016576717noreply@blogger.comtag:blogger.com,1999:blog-18834385.post-3446411052684979152007-07-20T10:16:00.000-04:002007-07-20T10:16:00.000-04:00Not necessarily. ContextFinder will delegate the c...Not necessarily. ContextFinder will delegate the class load request to a bundle's class loader found on the call stack. If the desired class is reachable from that class loader, then you are done. You can use buddy loading to extend the set of classes reachable from the bundle's class loader beyond normal import-package, require-bundle by also searching the bundles associated via the declared buddy policy.BJ Hargravehttps://www.blogger.com/profile/02289107040084648957noreply@blogger.comtag:blogger.com,1999:blog-18834385.post-20827385699179139972007-07-20T10:13:00.000-04:002007-07-20T10:13:00.000-04:00This comment has been removed by the author.BJ Hargravehttps://www.blogger.com/profile/02289107040084648957noreply@blogger.comtag:blogger.com,1999:blog-18834385.post-45344214959271576012007-07-20T04:59:00.000-04:002007-07-20T04:59:00.000-04:00From your statement:> handle the load request. > T...From your statement:<BR/><BR/>> handle the load request. <BR/>> The normal OSGi bundle class <BR/>> loader rules as well as a <BR/>> further Buddy Policy extension <BR/>> is then used to find the <BR/>> requested class.<BR/><BR/>I'm trying to understand how to use the ContextFinder. Are you saying that I will need to add the Buddy Classloading manifest headers in order to get ContextFinder to work ?<BR/><BR/>Thanks.<BR/><BR/>GGavin Bonghttps://www.blogger.com/profile/03576181730840628506noreply@blogger.com