Class ReloadableTestBean
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.spring.service.ReloadableTestBean
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent
Test bean to canary out behavior of reloadable bean service.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitialized
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger log -
id
-
value
private int value
-
-
Constructor Details
-
ReloadableTestBean
Constructor.- Parameters:
name- name of beanval- value of bean
-
-
Method Details
-
doInitialize
- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-
doDestroy
protected void doDestroy()- Overrides:
doDestroyin classAbstractInitializableComponent
-
getValue
public int getValue()Get bean value.- Returns:
- bean value
-