Package com.sap.cds.services.mt.impl
Class MtDeploymentServiceHandler
java.lang.Object
com.sap.cds.services.mt.impl.MtDeploymentServiceHandler
- All Implemented Interfaces:
EventHandler
The default handler for subscription events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final com.fasterxml.jackson.databind.ObjectMapperprotected final ThreadLocal<InstanceCreationOptions>Thread local used to pass the instance manager options to the mt libprotected final SubscriberThe subscriber that performs the actual tenant onboarding -
Constructor Summary
ConstructorsConstructorDescriptionMtDeploymentServiceHandler(InstanceLifecycleManager instanceLifecycleManager, CdsRuntime runtime) -
Method Summary
Modifier and TypeMethodDescriptionprotected InstanceCreationOptionsprotected voidonSubscribe(SubscribeEventContext context) protected voidonUnsubscribe(UnsubscribeEventContext context) protected voidonUpgrade(UpgradeEventContext context)
-
Field Details
-
mapper
protected static final com.fasterxml.jackson.databind.ObjectMapper mapper -
subscriber
The subscriber that performs the actual tenant onboarding -
options
Thread local used to pass the instance manager options to the mt lib
-
-
Constructor Details
-
MtDeploymentServiceHandler
public MtDeploymentServiceHandler(InstanceLifecycleManager instanceLifecycleManager, CdsRuntime runtime)
-
-
Method Details
-
onSubscribe
-
onUnsubscribe
-
onUpgrade
-
buildInstanceCreationOptions
-