Class OnTLSCertApplyDnsPresentedEvent.Handler
java.lang.Object
com.sankcrm.erp.event.AbstractEventHandler<TLSCertApplyDnsPresentedEvent>
com.sankcrm.erp.apisix.event.tlscert.apply.OnTLSCertApplyDnsPresentedEvent.Handler
- All Implemented Interfaces:
com.sankcrm.erp.event.EventHandler<TLSCertApplyDnsPresentedEvent>
- Enclosing interface:
OnTLSCertApplyDnsPresentedEvent
@Component("tlsCertApplyDnsPresentedEventHandler")
public static class OnTLSCertApplyDnsPresentedEvent.Handler
extends com.sankcrm.erp.event.AbstractEventHandler<TLSCertApplyDnsPresentedEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TLSCertApplyprotected Optional<TLSCertApply> applyOpt(TLSCertApplyId applyId) protected Optional<TLSCertApply> protected Optional<TLSCertificate> certificate(TLSCertificateId tlsCerId) protected voidhand(TLSCertApplyDnsPresentedEvent event, com.sankcrm.erp.bus.exception.CommandInvalidException throwable) protected voidhand(TLSCertApplyDnsPresentedEvent event, com.sankcrm.erp.domain.exception.EntityExistException throwable) protected voidhand(TLSCertApplyDnsPresentedEvent event, com.sankcrm.erp.domain.exception.EntityNoneException throwable) protected voidhand(TLSCertApplyDnsPresentedEvent event, Exception throwable) protected TLSCertApplyhandle(TLSCertApply oldApply, TLSCertApplyDnsPresentedEvent event) voidprotected Stringstage()Methods inherited from class com.sankcrm.erp.event.AbstractEventHandler
handConcurrency, isConcurrency, logger, tryHandle
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
applyOpt
-
handle
protected TLSCertApply handle(TLSCertApply oldApply, TLSCertApplyDnsPresentedEvent event) throws com.sankcrm.erp.common.exception.CoreException - Throws:
com.sankcrm.erp.common.exception.CoreException
-
stage
-
apply
-
applyOpt
-
certificate
-
handle
public void handle(TLSCertApplyDnsPresentedEvent event) throws com.sankcrm.erp.common.exception.CoreException - Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(TLSCertApplyDnsPresentedEvent event, Exception throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<E extends com.sankcrm.erp.event.Event>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(TLSCertApplyDnsPresentedEvent event, com.sankcrm.erp.domain.exception.EntityNoneException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<E extends com.sankcrm.erp.event.Event>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(TLSCertApplyDnsPresentedEvent event, com.sankcrm.erp.domain.exception.EntityExistException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<E extends com.sankcrm.erp.event.Event>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(TLSCertApplyDnsPresentedEvent event, com.sankcrm.erp.bus.exception.CommandInvalidException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<E extends com.sankcrm.erp.event.Event>- Throws:
com.sankcrm.erp.common.exception.CoreException
-