Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update osgi annotatations in communication #315

Conversation

plutasnyy
Copy link
Contributor

I updated osgi annotations in communication

Motivation and Context

Before, annotations was marked as deprecated

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

I hereby agree to the terms of the AET Contributor License Agreement.

@plutasnyy plutasnyy changed the base branch from master to feature/upgrade-osgi-annotations August 9, 2018 07:27
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Service
@Component(immediate = true, metatype = true, description = "AET JMS Connection", label = "AET Default JMS Connection")
@Component(service = JmsConnection.class, immediate = true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

service = JmsConnection.class is redundant - by default the service type equals the type of implemented interface

@plutasnyy plutasnyy merged commit 605958f into feature/upgrade-osgi-annotations Aug 10, 2018
@plutasnyy plutasnyy deleted the feature/upgrade-osgi-annotations-communication branch August 10, 2018 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants