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.Type
networkServiceType
protected ServiceOps
serviceOps
-
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 NetworkService
getNetworkService()
int
getOrder()
void
onApplicationEvent(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:
onApplicationEvent
in interfaceApplicationListener<ContextClosedEvent>
- Overrides:
onApplicationEvent
in classKeymasterStop
-
getNetworkService
protected NetworkService getNetworkService()
-
-