org.apache.tapestry5.ioc.annotations
Annotation Type EagerLoad


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@UseWith(value=SERVICE)
public @interface EagerLoad

Marker annotation placed on a service builder method to indicate that the service should be eagerly loaded: realized as if a service method had been invoked. Service realization invokes the service builder method and applys any decorators to the service.

This annotation may also be placed directly on a service implementation class, when using autobuilding via the ServiceBinder.



Copyright © 2003-2012 The Apache Software Foundation.