@Service
@Configuration
@AutoConfigureAfter(value={HomeKitConfig.class,HomeKitDataSourceAdapter.class,HomeKitServiceAdapter.class})
public class HomeKitBootStrapServer
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| 构造器和说明 |
|---|
HomeKitBootStrapServer(HomeKitConfig homeKitConfig,
HomeKitService homeKitService) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet()
Invoked by the containing
BeanFactory after it has set all bean properties
and satisfied BeanFactoryAware, ApplicationContextAware etc. |
void |
destroy()
Invoked by the containing
BeanFactory on destruction of a bean. |
public HomeKitBootStrapServer(HomeKitConfig homeKitConfig, HomeKitService homeKitService)
public void destroy()
BeanFactory on destruction of a bean.destroy 在接口中 org.springframework.beans.factory.DisposableBeanpublic void afterPropertiesSet()
BeanFactory after it has set all bean properties
and satisfied BeanFactoryAware, ApplicationContextAware etc.
This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set.
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanCopyright © 2021. All rights reserved.