Java Code Examples for io.quarkus.arc.deployment.AdditionalBeanBuildItem#unremovableOf()
The following examples show how to use
io.quarkus.arc.deployment.AdditionalBeanBuildItem#unremovableOf() .
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: LiquibaseProcessor.java From tutorials with MIT License | 6 votes |
@Record(ExecutionTime.STATIC_INIT) @BuildStep void build(BuildProducer<AdditionalBeanBuildItem> additionalBeanProducer, BuildProducer<FeatureBuildItem> featureProducer, LiquibaseRecorder recorder, BuildProducer<BeanContainerListenerBuildItem> containerListenerProducer, DataSourceInitializedBuildItem dataSourceInitializedBuildItem) { featureProducer.produce(new FeatureBuildItem("liquibase")); AdditionalBeanBuildItem unremovableProducer = AdditionalBeanBuildItem.unremovableOf(LiquibaseProducer.class); additionalBeanProducer.produce(unremovableProducer); containerListenerProducer.produce( new BeanContainerListenerBuildItem(recorder.setLiquibaseConfig(liquibaseConfig))); }
Example 2
Source File: OAuth2DeploymentProcessor.java From quarkus with Apache License 2.0 | 5 votes |
/** * Configure a TokenSecurityRealm if enabled * * @param recorder - runtime OAuth2 security recorder * @param securityRealm - the producer factory for the SecurityRealmBuildItem * @return the AuthConfigBuildItem for the realm authentication mechanism if there was an enabled PropertiesRealmConfig, * null otherwise * @throws Exception - on any failure */ @BuildStep @Record(ExecutionTime.RUNTIME_INIT) AdditionalBeanBuildItem configureOauth2RealmAuthConfig(OAuth2Recorder recorder, BuildProducer<SecurityRealmBuildItem> securityRealm) throws Exception { if (oauth2.enabled) { RuntimeValue<SecurityRealm> realm = recorder.createRealm(oauth2); securityRealm.produce(new SecurityRealmBuildItem(realm, REALM_NAME, null)); return AdditionalBeanBuildItem.unremovableOf(OAuth2AuthMechanism.class); } return null; }
Example 3
Source File: ReactiveDB2ClientProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem registerBean() { return AdditionalBeanBuildItem.unremovableOf(DB2PoolProducer.class); }
Example 4
Source File: Neo4jDriverProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem createDriverProducer() { return AdditionalBeanBuildItem.unremovableOf(Neo4jDriverProducer.class); }
Example 5
Source File: VertxProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem registerBean() { return AdditionalBeanBuildItem.unremovableOf(VertxProducer.class); }
Example 6
Source File: TikaProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem beans() { return AdditionalBeanBuildItem.unremovableOf(TikaParserProducer.class); }
Example 7
Source File: KmsProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem producer() { return AdditionalBeanBuildItem.unremovableOf(KmsClientProducer.class); }
Example 8
Source File: SesProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem producer() { return AdditionalBeanBuildItem.unremovableOf(SesClientProducer.class); }
Example 9
Source File: SqsProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem producer() { return AdditionalBeanBuildItem.unremovableOf(SqsClientProducer.class); }
Example 10
Source File: SnsProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem producer() { return AdditionalBeanBuildItem.unremovableOf(SnsClientProducer.class); }
Example 11
Source File: DynamodbProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem producer() { return AdditionalBeanBuildItem.unremovableOf(DynamodbClientProducer.class); }
Example 12
Source File: S3Processor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem producer() { return AdditionalBeanBuildItem.unremovableOf(S3ClientProducer.class); }
Example 13
Source File: ReactiveMySQLClientProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem registerBean() { return AdditionalBeanBuildItem.unremovableOf(MySQLPoolProducer.class); }
Example 14
Source File: ReactivePgClientProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem registerBean() { return AdditionalBeanBuildItem.unremovableOf(PgPoolProducer.class); }
Example 15
Source File: KafkaStreamsProcessor.java From quarkus with Apache License 2.0 | 4 votes |
@BuildStep AdditionalBeanBuildItem registerBean() { return AdditionalBeanBuildItem.unremovableOf(KafkaStreamsTopologyManager.class); }