Uses of Class
com.kosdev.kos.commons.core.context.BeanContext
Packages that use BeanContext
Package
Description
KOS relies heavily on Dependency Injection (DI)
which is a mechanism to connect java beans together during application startup.
This package provides the core application framework for KOS, including application lifecycle management,
dynamic loading capabilities, and messaging infrastructure.
-
Uses of BeanContext in com.kosdev.kos.commons.core.context
Methods in com.kosdev.kos.commons.core.context with parameters of type BeanContextModifier and TypeMethodDescriptionvoidCtxChildDestroyListener.onChildCtxDestroyed(BeanContext ctx) This method is called byBeanContextwhen a child context is destroyed.voidCtxDestroyListener.onChildCtxDestroyed(BeanContext ctx) This method is called byBeanContextwhen a child context is destroyed.default voidCtxEventListener.onCtxAutowiringCompleted(BeanContext ctx) This method is called by theBeanContextwhen all autowiring for the bean has completed.default voidCtxConnectListener.onCtxConnect(BeanContext ctx) This method is called by theBeanContextwhen the bean is successfully connected to a context.voidCtxDestroyListener.onCtxDestroyed(BeanContext ctx) This method is called byBeanContextwhen the context is destroyed.default voidCtxEventListener.onCtxDestroyed(BeanContext ctx) This method is called byBeanContextwhen the context is destroyed.default voidCtxConnectListener.onCtxDisconnect(BeanContext ctx) This method is called byBeanContextwhen the bean is disconnected from the context.default voidCtxEventListener.onCtxPhaseCompleted(BeanContext ctx, String phaseName) This method is called by theBeanContextwhen all autowiring for the given phase has completed.voidBeanContext.setParent(BeanContext parent) Set the parent context.Constructors in com.kosdev.kos.commons.core.context with parameters of type BeanContextModifierConstructorDescriptionBeanContext(BeanContext parentContext) Create a context with the specified parent and default name.BeanContext(String name, BeanContext parentContext) Create a context with a parent. -
Uses of BeanContext in com.kosdev.kos.core.app
Methods in com.kosdev.kos.core.app that return BeanContextModifier and TypeMethodDescriptionstatic BeanContextKosCore.getCtx()Returns the rootBeanContextfor KOS.static BeanContextKosCore.getSystemCtx()Returns theBeanContextfor the system app. -
Uses of BeanContext in com.kosdev.kos.core.service.app
Methods in com.kosdev.kos.core.service.app that return BeanContext -
Uses of BeanContext in com.kosdev.kos.core.service.assembly
Methods in com.kosdev.kos.core.service.assembly that return BeanContextConstructors in com.kosdev.kos.core.service.assembly with parameters of type BeanContextModifierConstructorDescriptionAssembly(String name, BeanContext parentCtx) Create a new assembly with the specified name and parent context.