Errai 3.0.1-SNAPSHOT

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


@Scope
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface EntryPoint

Specifies that the annotated bean is an application entry point. Beans annotated with @EntryPoint are instantiated when the client-side application is first loaded. At the time an Entry Point bean is first instantiated, the client has not yet federated with the server bus, so remote service names are not yet known. Most often, initialization code should be placed in a method annotated with AfterInitialization rather than in the bean's constructor.

See Also:
AfterInitialization


Errai 3.0.1-SNAPSHOT

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