Errai 3.0.1-SNAPSHOT

org.jboss.errai.ioc.client.api
Annotation Type LoadAsync


@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD,METHOD,PARAMETER})
public @interface LoadAsync

Provides a hint to the container that the annotated element should be loaded asynchronously using GWT's code splitting. This annotation can be placed on any container-managed element (beans or producers). A fragment name can optionally be specified using a class literal. GWT's code splitter will put the code of all types with the same fragment name into the same code fragment see GWT.runAsync(Class, com.google.gwt.core.client.RunAsyncCallback).

Author:
Mike Brock, Christian Sadilek

Optional Element Summary
 Class<?> value
          The fragment name to group all types with the same name into the same code fragment.
 

value

public abstract Class<?> value
The fragment name to group all types with the same name into the same code fragment.

Default:
org.jboss.errai.ioc.client.api.LoadAsync.NO_FRAGMENT.class

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.