This class must be registered using com.google.inject.servlet.ServletModule
.
This class extends {@link ServletContainer} and initiates the{@link WebApplication} with a Guice-based {@link IoCComponentProviderFactory}, {@link GuiceComponentProviderFactory}, such that instances of resource and provider classes declared and managed by Guice can be obtained.
Guice-bound classes will be automatically registered if such classes are root resource classes or provider classes. It is not necessary to provide initialization parameters for declaring classes in the web.xml unless a mixture of Guice-bound and Jersey-managed classes is required. @author Gili Tzabari @author Paul Sandoz @see com.google.inject.servlet.ServletModule
|
|
|
|
|
|