|
|
|
|
@ -35,7 +35,7 @@ public interface BootstrapContext {
@@ -35,7 +35,7 @@ public interface BootstrapContext {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return an instance from the context if the type has been registered. The instance |
|
|
|
|
* will be created it if it hasn't been accessed previously. |
|
|
|
|
* will be created if it hasn't been accessed previously. |
|
|
|
|
* @param <T> the instance type |
|
|
|
|
* @param type the instance type |
|
|
|
|
* @return the instance managed by the context |
|
|
|
|
@ -45,7 +45,7 @@ public interface BootstrapContext {
@@ -45,7 +45,7 @@ public interface BootstrapContext {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return an instance from the context if the type has been registered. The instance |
|
|
|
|
* will be created it if it hasn't been accessed previously. |
|
|
|
|
* will be created if it hasn't been accessed previously. |
|
|
|
|
* @param <T> the instance type |
|
|
|
|
* @param type the instance type |
|
|
|
|
* @param other the instance to use if the type has not been registered |
|
|
|
|
@ -55,7 +55,7 @@ public interface BootstrapContext {
@@ -55,7 +55,7 @@ public interface BootstrapContext {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return an instance from the context if the type has been registered. The instance |
|
|
|
|
* will be created it if it hasn't been accessed previously. |
|
|
|
|
* will be created if it hasn't been accessed previously. |
|
|
|
|
* @param <T> the instance type |
|
|
|
|
* @param type the instance type |
|
|
|
|
* @param other a supplier for the instance to use if the type has not been registered |
|
|
|
|
@ -65,7 +65,7 @@ public interface BootstrapContext {
@@ -65,7 +65,7 @@ public interface BootstrapContext {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return an instance from the context if the type has been registered. The instance |
|
|
|
|
* will be created it if it hasn't been accessed previously. |
|
|
|
|
* will be created if it hasn't been accessed previously. |
|
|
|
|
* @param <T> the instance type |
|
|
|
|
* @param <X> the exception to throw if the type is not registered |
|
|
|
|
* @param type the instance type |
|
|
|
|
|