- All Implemented Interfaces:
com.google.inject.Provider<T>
, javax.inject.Provider<T>
public class ServiceProvider<T>
extends Object
implements com.google.inject.Provider<T>
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
clazz
protected final Class<T> clazz
-
Constructor Details
-
ServiceProvider
public ServiceProvider(Class<T> clazz)
-
Method Details
-
getServiceClass
public Class<T> getServiceClass()
-
get
- Specified by:
get
in interface com.google.inject.Provider<T>
- Specified by:
get
in interface javax.inject.Provider<T>
-
getScope
public com.google.inject.Scope getScope()