Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using the provided singleton approach in Onwer
public class OwnerSingletonUsageExample {
public void example() {
GeneralConfig generalConfig = ConfigCache.getOrCreate(GeneralConfig.class);
// getting values ignored
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment