Skip to content

Commit

Permalink
Initial migration of the cdi-tck/web tests to the platform tck repo (#…
Browse files Browse the repository at this point in the history
…1220)

* Intial prototype of breaking up TCK into a core and web profile set of tests

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Merge from master and get working with weld master

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Update the 10 year old htmlunit to the most recent version

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Move more TestGroups.INTEGRATION tests into the web collection

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Prepare for the 4.1.0.Alpha1 release

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Try this again, need snapshot for release plugin

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* [maven-release-plugin] prepare release 4.1.0.Alpha1

* [maven-release-plugin] prepare for next development iteration

* Add comment about the testResourceBeanTypes types check assert along with the types actually seen

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Build expected Boolean types from JVM class to avoid issues with future java.lang type changes

Signed-off-by: Scott M Stark <starksm64@gmail.com>
#238

* Update persistence.xml schema to Jakarta EE 9 version

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Update CDI API to 4.0.0.Alpha1; rework tests that use now removed APIs.

* [maven-release-plugin] prepare release 4.1.0.Alpha2

* [maven-release-plugin] prepare for next development iteration

* Changes to support test archive source for cdi-lite

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Changes to support test archive source for cdi-lite

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* First pass aadding cdi-full group to @decorators tests (#279)

* First pass aadding cdi-full group to @decorators tests
Addresses #263

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Move/rework/alter tests using CDI extensions, part 2

* Move/rework/alter tests using CDI extensions, part 3

* Move/rework/alter tests using CDI extensions, part 4

* Move/rework/alter tests using CDI extensions, part 5

* Second pass at adding cdi-full to interceptors tests (#285)

* Update most tests to not use @interceptors so they work in Lite and full.
* Move cdi-full group tests to under org.jboss.cdi.tck.tests.full.interceptors.*

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Move more decorator related tests to cdi-full, #290 (#291)

* More decorator related tests need the cdi-full test group
Addresses #290, #273

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* [maven-release-plugin] prepare release 4.1.0.Alpha3

* [maven-release-plugin] prepare for next development iteration

* Change BeanDiscovery test to account for beans.xml version attribute changes. Expand BeansXml util to allow creation of XML without certain attributes.

* Merge the two BeanDiscoveryTest classes together as they both test plain CDI Full features anyway.

* remove SourceProcessor and everything related

The `cdiLiteMode` flag is retained, because that seems to be useful.
Everything else should be gone with this commit.

* Adapt TCK Full and incontainer tests to new beans.xml defaults.

* Revert the dev version from 4.1.0-SNAPSHOT to 4.0.0-SNAPSHOT to correct the current major/minor mismatch between api/tck

Signed-off-by: starksm64 <starksm64@gmail.com>

* [maven-release-plugin] prepare release 4.0.0.Alpha4

* [maven-release-plugin] prepare for next development iteration

* Add ability to skip adding beans.xml to the archive

* Revert mistakenly commited change to web.xml file.

* [maven-release-plugin] prepare release 4.0.0.Alpha5

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0-RC1

* [maven-release-plugin] prepare for next development iteration

* Update signature test packages and Java version to 11.
Remove the duplicate sigtest-pom.xml from the web module.
Update the TCK guide version references, examples and add lang model TCK section

Signed-off-by: starksm64 <starksm64@gmail.com>

* [maven-release-plugin] prepare release 4.0.0-RC1

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0-RC2

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0-RC3

* [maven-release-plugin] prepare for next development iteration

* Move some misplaced tests under full package, add CDI_FULL category. Rework few other tests to work equally for Lite and Full. (#338)

* [maven-release-plugin] prepare release 4.0.0-RC4

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0.RC5

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0.RC6

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0-RC7

* [maven-release-plugin] prepare for next development iteration

* IntrospectServlet needs to be a bean for JEEComponentTest

This used to be a bean because we used discovery mode all. However, the
default discovery mode has changed in 4.0 to be annotated, so the class
needs an annotation to be a bean.

* [maven-release-plugin] prepare release 4.0.0-RC8

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0-RC8

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.0

* [maven-release-plugin] prepare for next development iteration

* Set discovery-mode=all for non.contextual.ContainerEventTest

This test relies on unannotated classes being discovered and so needs
discovery-mode=all.

This now needs to be added explicitly because the default was changed to
discovery-mode=annotated.

* Revert change to InvalidatingSessionDestroysConversationTest

Request clouds.jsf rather than clouds.xhtml so that the request matches
the pattern for the faces servlet.

* [maven-release-plugin] prepare release 4.0.1

* [maven-release-plugin] prepare for next development iteration

* Update for removeal of managed beans, faces in jsp

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Migrate another jsp test using jsf

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Address removal of managed beans/faces in jsp (#374)

* Update for removeal of managed beans, faces in jsp
* Migrate another jsp test using jsf

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Update versions to final for all specs

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Update missing final versions (#375)

* Update for removeal of managed beans, faces in jsp
* Migrate another jsp test using jsf
* Update versions to final for all specs

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* [maven-release-plugin] prepare release 4.0.2

* [maven-release-plugin] prepare for next development iteration

* Move the test-audit dependencies into the plugin using them

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* [maven-release-plugin] prepare release 4.0.3

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.3

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.3

* [maven-release-plugin] prepare for next development iteration

* Fix PersistenceContextInjectionTest to include AutoCloseable as type of EM and EMF (#381)

* [maven-release-plugin] prepare release 4.0.4

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.5

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.5

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.5

* [maven-release-plugin] prepare for next development iteration

* More test-audit workarounds

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* [maven-release-plugin] prepare release 4.0.5

* [maven-release-plugin] prepare for next development iteration

* Disable the tck-audit profile by default so that the org.jboss.test-a… (#388)

* Disable the tck-audit profile by default so that the org.jboss.test-audit dependencies are not seen by default in the TCK test artifact dependencies.
The build needs -DgenerateSource to run with this change
* Update the action build set for tck-audit activation

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Revert "Disable the tck-audit profile by default so that the org.jboss.test-a… (#388)"

This reverts commit 22d9a76199356b8da8827ed76f415ef1ff45f107.

* Fixed tests to disabling thrown of FailingHttpStatusCode exception

* [maven-release-plugin] prepare release 4.0.6

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.7

* [maven-release-plugin] prepare for next development iteration

* Add Support for Selenium Tests
- Adds Selenium implementation for Faces Ajax test

* [maven-release-plugin] prepare release 4.0.8

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.0.8

* [maven-release-plugin] prepare for next development iteration

* Selenium Fix for Chromium v111+

* [maven-release-plugin] prepare release 4.0.9

* [maven-release-plugin] prepare for next development iteration

* fix version string after incorrect 4.0.9 release

* [maven-release-plugin] prepare release 4.0.10

* [maven-release-plugin] prepare for next development iteration

* Change ProcessBeanAttributesNotFiredForBuiltinBean to only detect PBA for beans with @default qualifiers

* Change main branch to 4.1 version

* Fix invalid annotation literals

The `Annotation.equals()` contract directly states that for two
annotation objects to be equal, they must (among others) both
implement the [same] annotation interface.

The CDI TCK used to create instances of memberless annotations
simply by instantiating an anonymous subclass of `AnnotationLiteral`,
which doesn't implement the annotation interface and hence is invalid.

It has never been a problem, because `AnnotationLiteral` implements
equality in a slightly more permissive manner: instead of checking
that both objects implement the same annotation interface, it checks
that both objects are annotations that have an equal `annotationType()`.
It becomes problematic when an implementation uses a different mechanism
to instantiate annotations than extending `AnnotationLiteral`, one that
closely follows the `Annotation` contract.

This commit replaces all usages of such anonymous subclasses by
proper `AnnotationLiteral` subclasses that implement the annotation
interface as well.

* add the CreationalContexts SPI

This commit also removes a few outdated references to Web Beans.

* add the Contextuals SPI

* Revisit two TCK tests that were disable in non-standard manner

* Add tests for InvocationContext.getInterceptorBindings()

* [maven-release-plugin] prepare release 4.1.0.Alpha4

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.1.0.Alpha5

* [maven-release-plugin] prepare for next development iteration

* Relax the scope requirement for public fields

This is a TCK counterpart to the specification change that allows all
pseudo-scoped beans to have public fields. It updates the text
in `tck-audit-cdi.xml` files, fixes naming in the relevant tests
and adds a test that a `@Singleton` bean can have a public field.

* Updates for the 4.1.0-M1 release (#504)

* Updates for the 4.1.0-M1 release
* Web tck dependencies require Java SE 17+

---------

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Fix se 17 javadoc error (#510)

add javadoc to the non-stage ci build

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* [maven-release-plugin] prepare release 4.1.0-M1

* [maven-release-plugin] prepare for next development iteration

* [maven-release-plugin] prepare release 4.1.0-M1

* [maven-release-plugin] prepare for next development iteration

* Add test coverage for declaring @priority on producers

* synchronize exclusion lists in "impl" and "web" and add a test

* remove tck-tests-previous.xml files, they are not maintained

* remove the JBoss tagline from license headers

* Add missing copyright headers to Java files

Copyright owner and date was generated by finding the original author
and date from the git history.

* remove the reference to @ManagedBean

* Update web/src/main/resources/tck-audit-cdi.xml

Co-authored-by: Ladislav Thon <ladicek@gmail.com>

* Migrate the cdi-tck/web contents to the platform tck with history

Signed-off-by: Scott M Stark <starksm64@gmail.com>

* Initial migration of the https://github.com/jakartaee/cdi-tck/web tests to the platform tck

Signed-off-by: Scott M Stark <starksm64@gmail.com>

---------

Signed-off-by: Scott M Stark <starksm64@gmail.com>
Signed-off-by: starksm64 <starksm64@gmail.com>
Co-authored-by: Eclipse CDI Bot <cdi-bot@eclipse.org>
Co-authored-by: Matej Novotny <manovotn@redhat.com>
Co-authored-by: Ladislav Thon <lthon@redhat.com>
Co-authored-by: Andrew Rouse <anrouse@uk.ibm.com>
Co-authored-by: Alfonso Altamirano <alfonso.altamirano@payara.fish>
Co-authored-by: Brian Decker <bmdecker@us.ibm.com>
Co-authored-by: Emily Jiang <emijiang6@googlemail.com>
Co-authored-by: Ladislav Thon <ladicek@gmail.com>
  • Loading branch information
9 people authored Jan 31, 2024
1 parent 7311654 commit 040852b
Show file tree
Hide file tree
Showing 1,579 changed files with 91,599 additions and 0 deletions.
597 changes: 597 additions & 0 deletions cdi-ee-tck/pom.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import java.io.Serializable;

import jakarta.interceptor.AroundConstruct;
import jakarta.interceptor.InvocationContext;

import org.jboss.cdi.tck.util.ActionSequence;

public abstract class AbstractInterceptor implements Serializable {

@AroundConstruct
public void intercept(InvocationContext ctx) {
ActionSequence.addAction(getClass().getSimpleName());
try {
ctx.proceed();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import jakarta.interceptor.InterceptorBinding;

@InterceptorBinding
@Inherited
@Target({ TYPE, METHOD, CONSTRUCTOR })
@Retention(RUNTIME)
public @interface AlphaBinding {

int value();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import jakarta.interceptor.Interceptor;

@Interceptor
@AlphaBinding(1)
public class AlphaInterceptor1 extends AbstractInterceptor {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import jakarta.interceptor.Interceptor;

@Interceptor
@AlphaBinding(2)
public class AlphaInterceptor2 extends AbstractInterceptor {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import jakarta.ejb.Stateful;
import jakarta.enterprise.inject.spi.BeanManager;
import jakarta.inject.Inject;

import org.jboss.cdi.tck.util.ActionSequence;

@AlphaBinding(1)
@Stateful
public class BeanOverridingTypeLevelBinding {

// for proxies
public BeanOverridingTypeLevelBinding() {
}

@Inject
@AlphaBinding(2)
public BeanOverridingTypeLevelBinding(BeanManager manager) {
ActionSequence.addAction(BeanOverridingTypeLevelBinding.class.getSimpleName());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import jakarta.ejb.Stateful;
import jakarta.enterprise.inject.spi.BeanManager;
import jakarta.inject.Inject;

import org.jboss.cdi.tck.util.ActionSequence;

@AlphaBinding(1)
@Stateful
public class BeanWithConstructorLevelAndTypeLevelBinding {

// for proxies
public BeanWithConstructorLevelAndTypeLevelBinding() {
}

@Inject
@BravoBinding
public BeanWithConstructorLevelAndTypeLevelBinding(BeanManager manager) {
ActionSequence.addAction(BeanWithConstructorLevelAndTypeLevelBinding.class.getSimpleName());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import jakarta.ejb.Stateful;
import jakarta.enterprise.inject.spi.BeanManager;
import jakarta.inject.Inject;

import org.jboss.cdi.tck.util.ActionSequence;

@Stateful
public class BeanWithConstructorLevelBinding {

// for proxies
public BeanWithConstructorLevelBinding() {
}

@Inject
@AlphaBinding(2)
public BeanWithConstructorLevelBinding(BeanManager manager) {
ActionSequence.addAction(BeanWithConstructorLevelBinding.class.getSimpleName());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import jakarta.ejb.Stateful;
import jakarta.enterprise.inject.spi.BeanManager;
import jakarta.inject.Inject;

import org.jboss.cdi.tck.util.ActionSequence;

@AlphaBinding(1)
@Stateful
public class BeanWithTypeLevelBinding {

// for proxies
public BeanWithTypeLevelBinding() {
}

@Inject
public BeanWithTypeLevelBinding(BeanManager manager) {
ActionSequence.addAction(BeanWithTypeLevelBinding.class.getSimpleName());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import jakarta.interceptor.InterceptorBinding;

@InterceptorBinding
@Inherited
@Target({ TYPE, METHOD, CONSTRUCTOR })
@Retention(RUNTIME)
public @interface BravoBinding {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.
*/
package org.jboss.cdi.tck.interceptors.tests.bindings.aroundConstruct.ejb;

import jakarta.interceptor.Interceptor;

@Interceptor
@BravoBinding
public class BravoInterceptor extends AbstractInterceptor {
}
Loading

0 comments on commit 040852b

Please sign in to comment.