Skip to content

Commit ba9c9a5

Browse files
committed
Add service providers
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
1 parent c0f019b commit ba9c9a5

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# Copyright (c) 2024 Oracle and/or its affiliates.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
io.helidon.integrations.micronaut.cdi.processor.ApplicationScopedTransformer
18+
io.helidon.integrations.micronaut.cdi.processor.RequestScopedTransformer
19+
io.helidon.integrations.micronaut.cdi.processor.DependentTransformer

integrations/micronaut/cdi/src/test/java/io/helidon/integrations/micronaut/cdi/TestCdiBean.java

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, 2021 Oracle and/or its affiliates.
2+
* Copyright (c) 2020, 2024 Oracle and/or its affiliates.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -21,6 +21,25 @@
2121
@ApplicationScoped
2222
public class TestCdiBean implements TestBean {
2323

24+
@CdiIntercepted
25+
@Override
26+
public String cdiAnnotated() {
27+
return TestBean.super.cdiAnnotated();
28+
}
29+
30+
@MicroIntercepted
31+
@Override
32+
public String µAnnotated() {
33+
return TestBean.super.µAnnotated();
34+
}
35+
36+
@CdiIntercepted
37+
@MicroIntercepted
38+
@Override
39+
public String bothAnnotated() {
40+
return TestBean.super.bothAnnotated();
41+
}
42+
2443
@Override
2544
public String name() {
2645
return "CdiBean";

0 commit comments

Comments
 (0)