Class NodeConfigurationImpl
java.lang.Object
org.bonitasoft.engine.platform.configuration.NodeConfigurationImpl
- All Implemented Interfaces:
NodeConfiguration
@Component
@ConditionalOnSingleCandidate(NodeConfiguration.class)
public class NodeConfigurationImpl
extends Object
implements NodeConfiguration
- Author:
- Baptiste Mesta, Matthieu Chaffotte, Laurent Vaills, Celine Souchet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHandlers called on restart of the platformvoidsetPlatformRestartHandlers(List<PlatformRestartHandler> platformRestartHandlers) boolean
-
Constructor Details
-
NodeConfigurationImpl
public NodeConfigurationImpl()
-
-
Method Details
-
getPlatformRestartHandlers
Description copied from interface:NodeConfigurationHandlers called on restart of the platform- Specified by:
getPlatformRestartHandlersin interfaceNodeConfiguration
-
setPlatformRestartHandlers
@Autowired(required=false) public void setPlatformRestartHandlers(List<PlatformRestartHandler> platformRestartHandlers) -
shouldClearSessions
public boolean shouldClearSessions()- Specified by:
shouldClearSessionsin interfaceNodeConfiguration- Returns:
- true if the sessions should be cleaned when the node is stopped
-