Package 

Class ServiceRegistrationSingleton


  • 
    public final class ServiceRegistrationSingleton<T extends Object>
    extends ServiceRegistration<T>
                        

    A registration of a service that is provided the instance of the service to use. This implementation takes as input obj and will return that instance whenever it is requested.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Set<Class<?>> services
    • Method Summary

      Modifier and Type Method Description
      final Set<Class<?>> getServices()
      Object resolve(IServiceProvider provider)
      • Methods inherited from class com.onesignal.common.services.ServiceRegistrationSingleton

        provides, provides
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait