Package org.frankframework.lifecycle
Interface ConfigurableLifecycle
- All Superinterfaces:
IConfigurable,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
- All Known Subinterfaces:
CanUseSharedResource<T>,IJob,IMonitorDestination,ManagableLifecycle,SharedResource<T>
- All Known Implementing Classes:
AbstractDatabaseMigrator,AbstractHttpSender,AbstractHttpSession,AbstractJdbcMessageBrowser,AbstractJdbcQuerySender,AbstractJdbcSender,AbstractJmsListener,AbstractJmsMessageBrowser,AbstractJobDef,AbstractLarvaAction,AbstractMonitorDestination,ActionJob,Adapter,BisJmsListener,BisJmsSender,CheckReloadJob,CleanupDatabaseJob,CleanupFileSystemJob,CmisHttpSender,ConfigurableApplicationContext,Configuration,ConfiguringLifecycleProcessor,DatabaseJob,DirectQuerySender,DummyTransactionalStorage,EsbJmsListener,EsbJmsSender,EsbJmsTransactionalStorage,ExecuteQueryJob,FixedQuerySender,FxfListener,HttpSender,HttpSession,IbisActionJob,IMSSender,JdbcFacade,JdbcIteratingPipeBase.MixedQuerySender,JdbcListener,JdbcQueryListener,JdbcTableListener,JdbcTableMessageBrowser,JdbcTransactionalStorage,JmsBrowser,JMSFacade,JmsListener,JmsSender,JmsTransactionalStorage,Job,LarvaAction,LarvaPushingListenerAction,LarvaScenarioContext,LiquibaseMigrator,LoadDatabaseSchedulesJob,Locker,MessageStoreListener,MessageStoreSender,Monitor,MonitorDestination,MonitorManager,MQSender,MsalClientAdapter,NetStorageSender,PipeLine,PullingJmsListener,PullingListenerAction,PushingJmsListener,Receiver,RecoverAdaptersJob,ResultSet2FileSender,ScheduleManager,SenderAction,SenderMonitorAdapter,SendMessageJob,SimpleJdbcListener,SpringContextFlowDiagramProvider,StoredProcedureQuerySender,TibcoLogJmsListener,Tibet2DatabaseStorage,WebServiceSender,XmlQuerySender
public interface ConfigurableLifecycle
extends org.springframework.context.SmartLifecycle, IConfigurable
Interface for Spring beans that require their
Lifecycle to be managed by Spring.
See ConfiguringLifecycleProcessor.- Author:
- Niels
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Method Summary
Modifier and TypeMethodDescriptiondefault intgetPhase()default booleanBy default these beans are not started.default booleanJust likeLifecycle.isRunning()this method is called before theIConfigurable.configure()method.default voidstart()Methods inherited from interface org.frankframework.core.IConfigurable
configureMethods inherited from interface org.springframework.context.Lifecycle
isRunning, stopMethods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Method Details
-
getPhase
default int getPhase()- Specified by:
getPhasein interfaceorg.springframework.context.Phased- Specified by:
getPhasein interfaceorg.springframework.context.SmartLifecycle
-
isAutoStartup
default boolean isAutoStartup()By default these beans are not started. TheConfigurationmay do so in theConfiguration.configure()method.- Specified by:
isAutoStartupin interfaceorg.springframework.context.SmartLifecycle
-
isConfigured
default boolean isConfigured()Just likeLifecycle.isRunning()this method is called before theIConfigurable.configure()method.- Returns:
- If the return value is
truetheIConfigurable.configure()method won't be executed.
-
start
default void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-