private static final class SpringBeanContainer.SpringContainedBean<B>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private B |
beanInstance |
private java.util.function.Consumer<B> |
destructionCallback |
Constructor and Description |
---|
SpringContainedBean(B beanInstance) |
SpringContainedBean(B beanInstance,
java.util.function.Consumer<B> destructionCallback) |
Modifier and Type | Method and Description |
---|---|
void |
destroyIfNecessary() |
B |
getBeanInstance() |