You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Bogdan Stirbat (JIRA)" <ji...@apache.org> on 2019/01/25 13:00:00 UTC
[jira] [Updated] (TOMEE-2460) Remove usage of deprecated
@Configuration, @Module, @EnableServices annotations
[ https://issues.apache.org/jira/browse/TOMEE-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bogdan Stirbat updated TOMEE-2460:
----------------------------------
Description:
Anotations:
- org.apache.openejb.junit.Configuration
- org.apache.openejb.junit.Module
- org.apache.openejb.junit.EnableServices
are deprecated, following ones should be used instead:
- org.apache.openejb.testing.Configuration
- org.apache.openejb.testing.Module
- org.apache.openejb.testing.EnableServices
The deprecated annotations are still used in following tests:
- GlobalFeatureConfigTest
- BeanManagerHelperTest
- ServletContextListenerRegistrationTest
- FeatureTest
Replace the deprecated annotations with the new ones.
was:
Anotations:
- org.apache.openejb.junit.Configuration
- org.apache.openejb.junit.Module
- org.apache.openejb.junit.EnableServices
are deprecated, following ones should be used instead:
- org.apache.openejb.testing.Configuration
- org.apache.openejb.testing.Module
- org.apache.openejb.testing.EnableServices
The deprecated annotations are still used in following tests:
- GlobalFeatureConfigTest
- BeanManagerHelperTest
- ServletContextListenerRegistrationTest
Replace the deprecated annotations with the new ones.
> Remove usage of deprecated @Configuration, @Module, @EnableServices annotations
> -------------------------------------------------------------------------------
>
> Key: TOMEE-2460
> URL: https://issues.apache.org/jira/browse/TOMEE-2460
> Project: TomEE
> Issue Type: Task
> Reporter: Bogdan Stirbat
> Priority: Trivial
>
> Anotations:
> - org.apache.openejb.junit.Configuration
> - org.apache.openejb.junit.Module
> - org.apache.openejb.junit.EnableServices
> are deprecated, following ones should be used instead:
> - org.apache.openejb.testing.Configuration
> - org.apache.openejb.testing.Module
> - org.apache.openejb.testing.EnableServices
>
> The deprecated annotations are still used in following tests:
> - GlobalFeatureConfigTest
> - BeanManagerHelperTest
> - ServletContextListenerRegistrationTest
> - FeatureTest
>
> Replace the deprecated annotations with the new ones.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)