summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/annotations/RootInitRequiresBrowserDetals.java
blob: 41ae1f9d65bf1a4a1194204a76b2d53eac9fe0d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
@VaadinApache2LicenseForJavaFiles@
 */

package com.vaadin.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.vaadin.terminal.WrappedRequest;
import com.vaadin.ui.Root;

/**
 * Indicates that the init method in a Root class should not be called until
 * full browser details ({@link WrappedRequest#getBrowserDetails()}) are
 * available. Ensuring the availability of this information will typically
 * requires an additional round trip to the client, which will cause the
 * application startup to progress more slowly.
 * 
 * @see Root#init(com.vaadin.terminal.WrappedRequest)
 * @see WrappedRequest#getBrowserDetails()
 * 
 * @since 7.0
 * 
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RootInitRequiresBrowserDetals {
    // No methods
}