@Singleton public class WebAnnotationsService extends TopLevelService
Supports WebServlet
, WebFilter
and WebInitParam
annotations
by automatically registering annotated classes using ServletModule
.
<
!-- >
<
web-annotations
>
<
servletContainer
>
...<
/servletContainer
>
<
/web-annotations
>
Constructor and Description |
---|
WebAnnotationsService() |
Modifier and Type | Method and Description |
---|---|
com.google.inject.Module |
configure()
Returns
Module which specifies this service dependencies and what it provides
to other services. |
close, getSubServices, start, stop
getCombineChildren, getCombineSelf, getId, toString
public WebAnnotationsService()
public com.google.inject.Module configure()
Service
Module
which specifies this service dependencies and what it provides
to other services.configure
in interface Service
configure
in class ConfigurableService
Copyright © 2013 Atteo. All rights reserved.