Package 

Class ServiceRegistrationLambda


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

    A registration of a service that should will call a lambda function create when the service is to be instantiated.

    The instantiated service is treated as a singleton, instantiation will only happen once.

    • 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.ServiceRegistrationLambda

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

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