Class IsolatedStaticSingletonProvider


  • public class IsolatedStaticSingletonProvider
    extends SingletonProvider
    A singleton provider that assumes an isolated classloder per application
    Author:
    [email protected], Pete Muir
    • Constructor Detail

      • IsolatedStaticSingletonProvider

        public IsolatedStaticSingletonProvider()
    • Method Detail

      • create

        public <T> Singleton<T> create​(Class<? extends T> type)
        Description copied from class: SingletonProvider
        Create a new singleton
        Specified by:
        create in class SingletonProvider
        Type Parameters:
        T - type of Java object stored in the singleton
        Parameters:
        type - represents the type of Java object stored in the singleton
        Returns:
        a singelton