{"action":"opened","issue":{"url":"https://api.github.com/repos/google/guice/issues/900","labels_url":"https://api.github.com/repos/google/guice/issues/900/labels{/name}","comments_url":"https://api.github.com/repos/google/guice/issues/900/comments","events_url":"https://api.github.com/repos/google/guice/issues/900/events","html_url":"https://github.com/google/guice/issues/900","id":56061660,"number":900,"title":"Is it possible to add an isolating classloader to Guice?","user":{"login":"bertramn","id":3828133,"avatar_url":"https://avatars.githubusercontent.com/u/3828133?v=3","gravatar_id":"","url":"https://api.github.com/users/bertramn","html_url":"https://github.com/bertramn","followers_url":"https://api.github.com/users/bertramn/followers","following_url":"https://api.github.com/users/bertramn/following{/other_user}","gists_url":"https://api.github.com/users/bertramn/gists{/gist_id}","starred_url":"https://api.github.com/users/bertramn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertramn/subscriptions","organizations_url":"https://api.github.com/users/bertramn/orgs","repos_url":"https://api.github.com/users/bertramn/repos","events_url":"https://api.github.com/users/bertramn/events{/privacy}","received_events_url":"https://api.github.com/users/bertramn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-30T17:33:46Z","updated_at":"2015-01-30T17:33:46Z","closed_at":null,"body":"Hi there,\r\n\r\nI am trying to use guice and aether to run a soapui mockservice in a jailed classloader from a JUnit Rule. I don't want to start a separate process everytime I am running  a unit test in the IDE. Also if one makes soapui a dependency of the project under test, this project will be littered with dependencies from half the internet. So I was thinking if I could use Guise and register the MavenAetherModule I could then somehow direct the container to use the maven repo to reference soapui and its dependencies and also load the correct classes from these resolved dependencies. I tried a significant number of things including creating a URLClassLoader with all soapui dependencies and adding that classloader using the SpaceModule but nothing seems to work. Does anyone have an idea how this could be done?\r\n\r\nKind Regards,\r\nNiels"}}