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
Fields inherited from class com.sap.cds.services.mt.impl.MtDeploymentServiceHandler
mapper, options, subscriber
-
Constructor Summary
ConstructorDescriptionMtSubscriptionServiceCompatibilityHandler
(com.sap.cloud.mt.subscription.InstanceLifecycleManager instanceLifecycleManager, CdsRuntime runtime) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkAuthorization
(EventContext context) protected void
checkAuthorizationDeployment
(EventContext context) protected void
onDeploy
(MtDeployEventContext mtContext) protected void
onDeployAsync
(MtAsyncDeployEventContext context) protected void
protected void
protected void
onSubscribe
(MtSubscribeEventContext context) protected void
onSubscribe
(SubscribeEventContext context) protected void
protected void
protected void
onUnsubscribe
(MtUnsubscribeEventContext context) protected void
onUnsubscribe
(UnsubscribeEventContext context) protected void
protected void
protected void
onUpgrade
(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:
onSubscribe
in classMtDeploymentServiceHandler
-
onUnsubscribe
-
onUnsubscribeAsync
-
onUnsubscribeAsyncFinished
@HandlerOrder(11000) protected void onUnsubscribeAsyncFinished(MtAsyncUnsubscribeFinishedEventContext context) -
onUnsubscribe
- Overrides:
onUnsubscribe
in classMtDeploymentServiceHandler
-
onDeploy
-
onDeployAsync
-
onDeployAsyncStatus
-
onUpgrade
- Overrides:
onUpgrade
in classMtDeploymentServiceHandler
-