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

Add @PropertiesClass annonatated classes to config properties #4323

Closed
jansupol opened this issue Nov 23, 2019 · 2 comments
Closed

Add @PropertiesClass annonatated classes to config properties #4323

jansupol opened this issue Nov 23, 2019 · 2 comments
Assignees

Comments

@jansupol
Copy link
Contributor

No description provided.

@jansupol
Copy link
Contributor Author

Currently, only ClientProperties, ServerProperties, and CommonProperties properties are used for properties defined by system properties grabbed when SecurityManager is on.
It would make sense to try other @PropertiesClass annotated property classes.

@jbescos
Copy link
Member

jbescos commented Nov 27, 2019

If I understand it correctly:
The current class SystemPropertiesConfiguration.getExpectedSystemProperties() is only loading the fields from CommonProperties, CommonProperties and ClientProperties.

And we want to add any existing class having the annotation @PropertiesClass or
@Property

I think there is no point to search by reflection inside of a package, because we only include these annotated classes inside jersey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants