Skip to content

Conversation

@fishermans
Copy link
Contributor

Hi Tobias,

As discussed in ticket #17, I am sending you a proposal for a refactored template for the ServiceLocator implementation. The enum represents the necessary singleton implementation. To ensure backward compatibility, I have mapped the static methods internally to the singleton instance. Alternatively, you can also choose a different pattern for a singleton. Since I don't have your codestyle, the template might have to be reformatted. Line length here is 120 characters.

Furthermore, I noticed that after setting the classloader the cache was not cleared. I have implemented this at the same time.

The code now requires JDK8.

Docu is adapted.

BR,
Tiemo

@tobiasstamann
Copy link
Contributor

Hi fisherman,

thanks for the PR. I have nearly finished the APTK migration to Java 8.
I am going to update the whole project first and then merge your PR afterwards.
This is going to happen somewhen until the end of the week.

Thanks again :)

@tobiasstamann
Copy link
Contributor

Java 8 based APTK version 0.20.0 has been released now.
It also includes the interface support for AnnotationWrappers, so i will likely able to add that server aliases pretty soon.
I have also prepared the upgrade of this project to Java 8 and will submit it once APTK version can be loaded from Maven central.
So i hope i will be able to merge your request today or tomorrow

@fishermans
Copy link
Contributor Author

Java 8 based APTK version 0.20.0 has been released now.
It also includes the interface support for AnnotationWrappers, so i will likely able to add that server aliases pretty soon.
I have also prepared the upgrade of this project to Java 8 and will submit it once APTK version can be loaded from Maven central.
So i hope i will be able to merge your request today or tomorrow

Sound great. Thanks a lot for work!

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