javax.enterprise.inject.Model Java Examples
The following examples show how to use
javax.enterprise.inject.Model.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BeanArchives.java From quarkus with Apache License 2.0 | 6 votes |
private static IndexView buildAdditionalIndex() { Indexer indexer = new Indexer(); // CDI API index(indexer, ActivateRequestContext.class.getName()); index(indexer, Default.class.getName()); index(indexer, Any.class.getName()); index(indexer, Named.class.getName()); index(indexer, Initialized.class.getName()); index(indexer, BeforeDestroyed.class.getName()); index(indexer, Destroyed.class.getName()); index(indexer, Intercepted.class.getName()); index(indexer, Model.class.getName()); // Arc built-in beans index(indexer, ActivateRequestContextInterceptor.class.getName()); index(indexer, InjectableRequestContextController.class.getName()); return indexer.complete(); }
Example #2
Source File: AutoProducerMethodTest.java From quarkus with Apache License 2.0 | 4 votes |
@Model List<String> strings() { return Collections.emptyList(); }