Package org.apache.syncope.core.starter
Class SyncopeCoreStop
- java.lang.Object
-
- org.apache.syncope.common.keymaster.client.api.startstop.KeymasterStop
-
- org.apache.syncope.core.starter.SyncopeCoreStop
-
- All Implemented Interfaces:
EventListener,ApplicationListener<ContextClosedEvent>,Ordered
public class SyncopeCoreStop extends KeymasterStop implements Ordered
Take care of all disposal needed by Syncope Core to shut down gracefully..
-
-
Field Summary
Fields Modifier and Type Field Description protected NetworkService.TypenetworkServiceTypeprotected ServiceOpsserviceOps-
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
-
Constructor Summary
Constructors Constructor Description SyncopeCoreStop(DomainHolder domainHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NetworkServicegetNetworkService()intgetOrder()voidonApplicationEvent(ContextClosedEvent event)
-
-
-
Field Detail
-
serviceOps
@Autowired protected ServiceOps serviceOps
-
networkServiceType
protected final NetworkService.Type networkServiceType
-
-
Constructor Detail
-
SyncopeCoreStop
public SyncopeCoreStop(DomainHolder domainHolder)
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(ContextClosedEvent event)
- Specified by:
onApplicationEventin interfaceApplicationListener<ContextClosedEvent>- Overrides:
onApplicationEventin classKeymasterStop
-
getNetworkService
protected NetworkService getNetworkService()
-
-