-
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.
-
-
Constructor Summary
Constructors Constructor Description ServiceRegistrationSingleton(T obj)
-
Method Summary
Modifier and Type Method Description final Set<Class<?>>getServices()Objectresolve(IServiceProvider provider)-
-
Constructor Detail
-
ServiceRegistrationSingleton
ServiceRegistrationSingleton(T obj)
-
-
Method Detail
-
getServices
final Set<Class<?>> getServices()
-
resolve
Object resolve(IServiceProvider provider)
-
-
-
-