Class ApimonitorAutoConfiguration
java.lang.Object
ai.apiverse.apisuite.mirror.agent.ApimonitorAutoConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Configuration(proxyBeanMethods=false)
@ConditionalOnProperty(name="apimonitor.enabled",
havingValue="true")
@Import(ApimonitorHttpConnectionConfig.class)
public class ApimonitorAutoConfiguration
extends Object
implements org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitscan()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
ApimonitorAutoConfiguration
public ApimonitorAutoConfiguration()
-
-
Method Details
-
initscan
@EventListener(org.springframework.boot.context.event.ApplicationStartedEvent.class) public void initscan() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-