Package org.jobrunr.spring.autoconfigure
Class JobRunrStarter
java.lang.Object
org.jobrunr.spring.autoconfigure.JobRunrStarter
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.SmartInitializingSingleton
public class JobRunrStarter
extends Object
implements org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.beans.factory.DisposableBean
-
Constructor Summary
ConstructorsConstructorDescriptionJobRunrStarter(Optional<org.jobrunr.server.BackgroundJobServer> backgroundJobServer, Optional<org.jobrunr.dashboard.JobRunrDashboardWebServer> webServer) -
Method Summary
-
Constructor Details
-
JobRunrStarter
-
-
Method Details
-
afterSingletonsInstantiated
public void afterSingletonsInstantiated()- Specified by:
afterSingletonsInstantiatedin interfaceorg.springframework.beans.factory.SmartInitializingSingleton
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-