Github user neykov commented on the pull request:
https://github.com/apache/incubator-brooklyn/pull/274#issuecomment-61256035
re my last comment - The only way a classloader approach can work is if we
introduce a 1:1 relationship between a catalog item and (a set of)
classloader(s). This would mean that for each catalog item we load it's classes
separately from the other catalog items' classes (with the exception of
brooklyn provided classes). This will limit code loaded from different catalog
items interoperating only through brooklyn provided APIs.
This is not a behaviour we want at the moment so the approach taken in this
PR is items 1+2 from @ahgittin's comment above.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---