Skip to content

Commit

Permalink
Add service providers
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos committed Jan 17, 2024
1 parent c0f019b commit ba9c9a5
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright (c) 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.
#

io.helidon.integrations.micronaut.cdi.processor.ApplicationScopedTransformer
io.helidon.integrations.micronaut.cdi.processor.RequestScopedTransformer
io.helidon.integrations.micronaut.cdi.processor.DependentTransformer
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2021 Oracle and/or its affiliates.
* Copyright (c) 2020, 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.
Expand All @@ -21,6 +21,25 @@
@ApplicationScoped
public class TestCdiBean implements TestBean {

@CdiIntercepted
@Override
public String cdiAnnotated() {
return TestBean.super.cdiAnnotated();
}

@MicroIntercepted
@Override
public String µAnnotated() {
return TestBean.super.µAnnotated();
}

@CdiIntercepted
@MicroIntercepted
@Override
public String bothAnnotated() {
return TestBean.super.bothAnnotated();
}

@Override
public String name() {
return "CdiBean";
Expand Down

0 comments on commit ba9c9a5

Please sign in to comment.