Errai 3.0.1-SNAPSHOT

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


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

Indicates that the target Errai IOC bean can be switched on and off at GWT rebind time by setting a Java System Property.

Author:
Mike Brock

Required Element Summary
 String value
          The name of the system property that enables or disables this bean.
 
Optional Element Summary
 boolean negated
          Normally, the target bean is enabled if and only if the specified system property exists and has the value "true".
 

Element Detail

value

public abstract String value
The name of the system property that enables or disables this bean.

negated

public abstract boolean negated
Normally, the target bean is enabled if and only if the specified system property exists and has the value "true". If negated is true then this sense is reversed: the bean is disabled if and only if the specified system property exists and has the value "true".

Default:
false

Errai 3.0.1-SNAPSHOT

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