Skip to content

ARTEMIS-5974 replace FactoryFinder with Java ServiceLoader#6324

Open
jbertram wants to merge 1 commit intoapache:mainfrom
jbertram:ARTEMIS-5974
Open

ARTEMIS-5974 replace FactoryFinder with Java ServiceLoader#6324
jbertram wants to merge 1 commit intoapache:mainfrom
jbertram:ARTEMIS-5974

Conversation

@jbertram
Copy link
Copy Markdown
Contributor

No description provided.

@@ -0,0 +1 @@
org.apache.activemq.artemis.cli.factory.xml.XmlBrokerFactoryHandler
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It seems like these service definitions can still have Apache license headers added as the ServiceLoader javadocs indicates it will ignore anything following the '#' character

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have no problem adding the license header, but it's worth noting that we've specifically configured apache-rat-plugin in the root pom.xml to exclude **/META-INF/services/* which means we have a lot of other service files without headers (and have for years).

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.

2 participants