Package org.refcodes.component
Interface Reloadable
-
- All Known Subinterfaces:
Reloadable.ReloadBuilder<B>
public interface ReloadableThis mixin might be implemented by a component in order to provide reload facilities.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceReloadable.ReloadBuilder<B extends Reloadable.ReloadBuilder<B>>The Interface ReloadBuilder.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidreload()Reloads the (state of the) component.default voidreloadUnchecked()Reloads the component by callingreload()without you to require catching aOpenException.
-
-
-
Method Detail
-
reload
void reload() throws OpenExceptionReloads the (state of the) component.- Throws:
OpenException- in case reloading failed as of some reason.
-
reloadUnchecked
default void reloadUnchecked()
Reloads the component by callingreload()without you to require catching aOpenException.- Throws:
OpenException.OpenRuntimeException- encapsulates the cause and is thrown upon encountering aOpenExceptionexception
-
-