Errai 3.0.1-SNAPSHOT

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


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface TestOnly

Some IDEs and some environments may improperly add test classes to the classpath in development mode. This clarifying annotation tells the IOC container not to consider beans annotated with this annotation unless they are running within the test environment.

Author:
Mike Brock


Errai 3.0.1-SNAPSHOT

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