Class NonReloadableTestBean
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- net.shibboleth.ext.spring.service.NonReloadableTestBean
-
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent
public class NonReloadableTestBean extends AbstractInitializableComponent
Test bean to canary out behavior of reloadable bean service.
-
-
Field Summary
Fields Modifier and Type Field Description private ReloadableTestBeanchildprivate Stringidprivate org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description NonReloadableTestBean(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoDestroy()protected voiddoInitialize()ReloadableTestBeangetChild()intgetValue()voidsetChild(ReloadableTestBean b)-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, initialize, isDestroyed, isInitialized
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
-
child
@Nullable private ReloadableTestBean child
-
-
Method Detail
-
doInitialize
protected void doInitialize() throws ComponentInitializationException- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-
doDestroy
protected void doDestroy()
- Overrides:
doDestroyin classAbstractInitializableComponent
-
getChild
public ReloadableTestBean getChild()
-
setChild
public void setChild(ReloadableTestBean b)
-
getValue
public int getValue()
-
-