public static interface Provider.ProviderSuspendEvents
Modifier and Type | Method and Description |
---|---|
void |
postSuspend(ProviderAccessor provider,
java.lang.String suspentionReason,
int versionNo)
Event interface invoked after the main body of the suspend method.
|
void |
preSuspend(ProviderAccessor provider,
java.lang.String suspentionReason,
int versionNo)
Event interface invoked before the main body of the suspend method.
|
void preSuspend(ProviderAccessor provider, java.lang.String suspentionReason, int versionNo) throws curam.util.exception.InformationalException, curam.util.exception.AppException
provider
- The object instance as it was before the main body of the
suspend method.suspentionReason
- The parameter as passed to the suspend method.versionNo
- The parameter as passed to the suspend method.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.void postSuspend(ProviderAccessor provider, java.lang.String suspentionReason, int versionNo) throws curam.util.exception.InformationalException, curam.util.exception.AppException
provider
- The object instance as it was after the main body of the suspend
method.suspentionReason
- The parameter as passed to the suspend method.versionNo
- The parameter as passed to the suspend method.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.