croprofile.cdi.helidon-microprofile-cdi.4.1.0.source-code.module-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of helidon-microprofile-cdi Show documentation
Show all versions of helidon-microprofile-cdi Show documentation
Helidon extension of Weld to support ahead of time compilation
/*
* Copyright (c) 2019, 2024 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import io.helidon.common.features.api.Feature;
import io.helidon.common.features.api.HelidonFlavor;
/**
* CDI implementation enhancements for Helidon MP.
*
* @see jakarta.enterprise.context
*/
@Feature(value = "CDI",
description = "Jakarta CDI implementation",
in = HelidonFlavor.MP,
path = "CDI"
)
@SuppressWarnings({ "requires-automatic", "requires-transitive-automatic" })
module io.helidon.microprofile.cdi {
requires io.helidon.common.context;
requires io.helidon.common.features.api;
requires io.helidon.common.features;
requires io.helidon.common.configurable;
requires io.helidon.common;
requires io.helidon.config.mp;
requires io.helidon.config;
requires io.helidon.logging.common;
requires jakarta.el; // weld requires jakarta.el.ELResolver on module path
requires java.sql; // weld requires java.sql.Date and we fail if not on classpath
requires jdk.unsupported; // needed for Unsafe used from Weld
requires microprofile.config.api;
requires transitive io.helidon;
requires transitive jakarta.cdi;
requires transitive jakarta.inject;
requires transitive weld.spi;
requires weld.core.impl;
requires weld.environment.common;
requires weld.se.core;
// Need by weld
requires org.jboss.logging;
exports io.helidon.microprofile.cdi;
uses jakarta.enterprise.inject.spi.Extension;
provides io.helidon.spi.HelidonStartupProvider
with io.helidon.microprofile.cdi.CdiStartupProvider;
provides jakarta.enterprise.inject.se.SeContainerInitializer
with io.helidon.microprofile.cdi.HelidonContainerInitializer;
provides jakarta.enterprise.inject.spi.CDIProvider
with io.helidon.microprofile.cdi.HelidonCdiProvider;
provides org.jboss.weld.bootstrap.api.Service
with io.helidon.microprofile.cdi.ExecutorServices;
provides jakarta.enterprise.inject.spi.Extension
with io.helidon.microprofile.cdi.ExecuteOnExtension;
opens io.helidon.microprofile.cdi to weld.core.impl;
}