Class OnReloadDecoratorHandler
java.lang.Object
com.thewinterframework.service.decorator.lifecycle.LifeCycleDecoratorHandler<OnReload>
com.thewinterframework.service.decorator.lifecycle.OnReloadDecoratorHandler
- All Implemented Interfaces:
ServiceDecoratorHandler<OnReload>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.thewinterframework.service.decorator.lifecycle.LifeCycleDecoratorHandler
LifeCycleDecoratorHandler.LifeCycleResult -
Field Summary
Fields inherited from class com.thewinterframework.service.decorator.lifecycle.LifeCycleDecoratorHandler
graph, lifeCycleMethodsByService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReloadMethod(@NotNull Class<?> service, @NotNull Runnable method) Add a runnable to the on reload graph.protected Class<?>[]extractAfterAnnotations(OnReload annotation) protected Class<?>[]extractBeforeAnnotations(OnReload annotation) Gets the type of annotation this handler processes.Methods inherited from class com.thewinterframework.service.decorator.lifecycle.LifeCycleDecoratorHandler
execute, executeInternally, onDiscover, onPluginLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.thewinterframework.service.decorator.ServiceDecoratorHandler
onConfigure, onDiscoverOnType, onPluginDisable, onPluginEnable
-
Constructor Details
-
OnReloadDecoratorHandler
public OnReloadDecoratorHandler()
-
-
Method Details
-
getAnnotationType
Description copied from interface:ServiceDecoratorHandlerGets the type of annotation this handler processes.- Returns:
- The annotation type.
-
extractAfterAnnotations
- Specified by:
extractAfterAnnotationsin classLifeCycleDecoratorHandler<OnReload>
-
extractBeforeAnnotations
- Specified by:
extractBeforeAnnotationsin classLifeCycleDecoratorHandler<OnReload>
-
addReloadMethod
Add a runnable to the on reload graph.- Parameters:
service- The service to add the runnable to.method- The method to add.
-