com.caucho.config.annotation
Annotation Type StartupType


@Documented
@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface StartupType

The @StartupType annotation marks an annotation as triggering a startup event for the bean. When Resin's WebBeans starts, it will fire Bean events with the @BindingType for the startup annotation, e.g.

  fireEvent(bean, [@ServiceBinding]);
 
The event handling is handled by a normal observer which will register or start the bean as appropriate.