org.jboss.errai.ioc.client.api
Annotation Type ActivatedBy
@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface ActivatedBy
Registers a BeanActivator
for the annotated managed bean. The provided activator will be
used at runtime for checking whether or not the managed IOC bean is activated (see
IOCBeanDef.isActivated()
).
Note that the managed IOC bean can be asynchronously loaded (when annotated with
LoadAsync
), but the activator itself can not.
- Author:
- Christian Sadilek
value
public abstract Class<? extends BeanActivator> value
- The activator type to use. Instances are managed by Errai IOC.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.