org.directwebremoting.guice
Annotation Type ApplicationScoped


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface ApplicationScoped

Marks classes for which there should be one instance per web application (i.e., per servlet context) and these instances should be created eagerly at servlet init() and closed (when they implement Closeable) at servlet destroy().

Author:
Tim Peierls [tim at peierls dot net]


Copyright 2008