Package org.frankframework.core
Interface IManagable
- All Superinterfaces:
org.springframework.context.ApplicationContextAware
,org.springframework.beans.factory.Aware
,IConfigurable
,IConfigurationAware
,INamedObject
,IScopeProvider
Models starting and stopping of objects that support such behaviour.
- Since:
- 4.0
- Author:
- Gerrit van Brakel
-
Method Summary
Modifier and TypeMethodDescriptionreturns the runstate of the object.void
Instruct the object that implementsIManagable
to start working.void
Instruct the object that implementsIManagable
to stop working.Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.core.IConfigurable
configure
Methods inherited from interface org.frankframework.core.IConfigurationAware
getApplicationContext, getName
Methods inherited from interface org.frankframework.core.INamedObject
getName, setName
Methods inherited from interface org.frankframework.core.IScopeProvider
getConfigurationClassLoader
-
Method Details
-
getRunState
RunState getRunState()returns the runstate of the object. Possible values are defined byRunState
. -
startRunning
Instruct the object that implementsIManagable
to start working. The method does not wait for completion of the command; at return of this method, the object might be still in the STARTING-runstate -
stopRunning
Instruct the object that implementsIManagable
to stop working. The method does not wait for completion of the command; at return of this method, the object might be still in the STOPPING-runstate
-