google / google/guice

How can i set the classloader for the Guice

Open
#761 3 comments 0 reactions 0 assignees View on GitHub
imported
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

_From [stream1984](https://code.google.com/u/108286346063430009330/) on August 09, 2013 21:29:01_

Hi all:
i wanna set classloader to guice, which mean Guice could only be use in that classloader.

i can do that in spring with code:
GenericApplicationContext genericApplicationContext = new GenericApplicationContext();
genericApplicationContext.setClassLoader(cl); //set new classloader
ConfigurableListableBeanFactory beanFactory = genericApplicationContext.getBeanFactory();

i don't know how to solve it in guice.
someone help me? thanks

_Original issue: http://code.google.com/p/google-guice/issues/detail?id=761_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.