guice/src/main/java/com/google/inject/internal/Initializable.java

13 lines
291 B
Java
Raw Normal View History

2016-01-07 19:22:16 +01:00
package com.google.inject.internal;
/**
* Holds a reference that requires initialization to be performed before it can be used.
*/
interface Initializable<T> {
/**
* Ensures the reference is initialized, then returns it.
*/
2019-12-09 15:32:54 +01:00
T get() throws InternalProvisionException;
2016-01-07 19:22:16 +01:00
}