Package com.sap.cds.services.mt.impl
Class MtSubscriptionServiceCompatibilityHandler
java.lang.Object
com.sap.cds.services.mt.impl.MtDeploymentServiceHandler
com.sap.cds.services.mt.impl.MtSubscriptionServiceCompatibilityHandler
- All Implemented Interfaces:
EventHandler
Compatibility handler for
MtSubscriptionService API.
Extends MtDeploymentServiceHandler and overwrites some of its handlers.-
Field Summary
FieldsFields inherited from class com.sap.cds.services.mt.impl.MtDeploymentServiceHandler
mapper, options, subscriber -
Constructor Summary
ConstructorsConstructorDescriptionMtSubscriptionServiceCompatibilityHandler(com.sap.cloud.mt.subscription.InstanceLifecycleManager instanceLifecycleManager, CdsRuntime runtime) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckAuthorization(EventContext context) protected voidcheckAuthorizationDeployment(EventContext context) protected voidonDeploy(MtDeployEventContext mtContext) protected voidonDeployAsync(MtAsyncDeployEventContext context) protected voidprotected voidprotected voidonSubscribe(MtSubscribeEventContext context) protected voidonSubscribe(SubscribeEventContext context) protected voidprotected voidprotected voidonUnsubscribe(MtUnsubscribeEventContext context) protected voidonUnsubscribe(UnsubscribeEventContext context) protected voidprotected voidprotected voidonUpgrade(UpgradeEventContext context) Methods inherited from class com.sap.cds.services.mt.impl.MtDeploymentServiceHandler
buildInstanceCreationOptions, forwardToken
-
Field Details
-
PARAM_APPLICATION_URL
- See Also:
-
-
Constructor Details
-
MtSubscriptionServiceCompatibilityHandler
public MtSubscriptionServiceCompatibilityHandler(com.sap.cloud.mt.subscription.InstanceLifecycleManager instanceLifecycleManager, CdsRuntime runtime)
-
-
Method Details
-
checkAuthorization
-
checkAuthorizationDeployment
-
onGetDependencies
-
onSubscribe
-
onSubscribeAsync
-
onSubscribeAsyncFinished
@HandlerOrder(11000) protected void onSubscribeAsyncFinished(MtAsyncSubscribeFinishedEventContext context) -
onSubscribe
- Overrides:
onSubscribein classMtDeploymentServiceHandler
-
onUnsubscribe
-
onUnsubscribeAsync
-
onUnsubscribeAsyncFinished
@HandlerOrder(11000) protected void onUnsubscribeAsyncFinished(MtAsyncUnsubscribeFinishedEventContext context) -
onUnsubscribe
- Overrides:
onUnsubscribein classMtDeploymentServiceHandler
-
onDeploy
-
onDeployAsync
-
onDeployAsyncStatus
-
onUpgrade
- Overrides:
onUpgradein classMtDeploymentServiceHandler
-