File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/kotlin/co/statu/rule/plugins/payment Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ import kotlinx.coroutines.CoroutineScope
1414import kotlinx.coroutines.launch
1515import org.slf4j.Logger
1616import org.springframework.beans.factory.config.ConfigurableBeanFactory
17+ import org.springframework.context.annotation.Lazy
1718import org.springframework.context.annotation.Scope
1819import org.springframework.stereotype.Component
1920
2021@Component
2122@Scope(value = ConfigurableBeanFactory .SCOPE_SINGLETON )
23+ @Lazy
2224class PaymentSystem (
2325 private val paymentPlugin : PaymentPlugin ,
2426 private val vertx : Vertx ,
@@ -39,6 +41,7 @@ class PaymentSystem(
3941 private val purchaseDao: PurchaseDao = PurchaseDaoImpl ()
4042
4143 init {
44+ println (" geldi" )
4245 val paymentEventHandlers = PluginEventManager .getEventListeners<PaymentEventListener >()
4346
4447 paymentEventHandlers.forEach {
You can’t perform that action at this time.
0 commit comments