Skip to content

Allow re-use by making these public with a public constructor#946

Closed
zenbones wants to merge 1 commit intoeclipse-ee4j:2.2.1-BRANCHfrom
zenbones:2.2.1-BRANCH
Closed

Allow re-use by making these public with a public constructor#946
zenbones wants to merge 1 commit intoeclipse-ee4j:2.2.1-BRANCHfrom
zenbones:2.2.1-BRANCH

Conversation

@zenbones
Copy link

@zenbones zenbones commented Dec 8, 2025

WebSocketAddOn should definitely be public in a way that allows re-use. We construct our grizzly server via spring, with a few modification, and I would like to be able to add Tyrus without having to create my own versions of WebSocketAddOn and/or GrizzlyServerFilter. We currently do both, and although add-on is simple, GrizzlyServerFilter is not, and you are just enforcing a pain point for no reason I can discern. This is an open source project. I pould like to make WebSocketAddOn re-usable by providing a public constructor on this already public class, and, for good measure, making GrizzlyServerFilter a public class to go with its already public constructor. This helps us greatly and I can see no harm.

@zenbones
Copy link
Author

I've signed an ECA but can't link my GitHub account because my GitHub user name is the same as my Eclipse user name (because no one said I should not) and when I try to link my GitHub account the application tells me there's already a user by that user name, I assume me? Not sure what else I can do.

@pzygielo

This comment was marked as outdated.

@zenbones
Copy link
Author

Had 2 accounts... my fault. Removed the github link from the old one, now I have a signed ECA and teh github account linked, so hopefully this will clear?

@pzygielo
Copy link

Revalidated ECA check now.

@arjantijms
Copy link
Contributor

arjantijms commented Dec 10, 2025

Fine with me. Private by default was likely done to allow some freedom in refactoring. Now it's public API and we should not just change it.

But it's interesting that people use Tyrus in this way.

Leaving the PR open for a short while to see if anyone from the team has additional comments, and if not I'll merge it.

(I'm not a super active committer in Tyrus, so I would like to see some comments from more active people)

@jansupol
Copy link
Contributor

The PR is made into a wrong branch, 2.2.1 is a technical branch for a release. 2.x is the development branch from which 2.2.2 will be released.

@pzygielo
Copy link

pzygielo commented Dec 10, 2025

2.x is the development branch

@zenbones can you edit this PR and change target branch?

@arjantijms
Copy link
Contributor

2.x is the development branch from which 2.2.2

Since there's a 2.0.x and 2.1.x, should maybe 2.x be called 2.2.x instead?

@arjantijms arjantijms deleted the branch eclipse-ee4j:2.2.1-BRANCH December 10, 2025 16:42
@arjantijms arjantijms closed this Dec 10, 2025
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