All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ecfront.ez.framework.service.eventbus.ServiceAdapter.scala Maven / Gradle / Ivy

package com.ecfront.ez.framework.service.eventbus

import com.ecfront.common.Resp
import com.ecfront.ez.framework.core.{EZContext, EZServiceAdapter}
import io.vertx.core.json.JsonObject

object ServiceAdapter extends EZServiceAdapter[JsonObject] {

  override def init(parameter: JsonObject): Resp[String] = {
    EventBusProcessor.init(EZContext.vertx)
  }

  override def destroy(parameter: JsonObject): Resp[String] = {
    Resp.success("")
  }

  override var serviceName: String = "eventbus"

}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy