public class BeanWiringObserver extends Object implements org.smooks.api.bean.lifecycle.BeanContextLifecycleObserver
BeanContext Observer performing bean wiring.| Constructor and Description |
|---|
BeanWiringObserver(org.smooks.api.bean.repository.BeanId watchingBean,
BeanInstancePopulator populator) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isMatchingBean(Object bean,
Class<?> type,
Class<? extends Annotation> annotation) |
void |
onBeanLifecycleEvent(org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent event) |
BeanWiringObserver |
watchedBeanAnnotation(Class<? extends Annotation> watchedBeanAnnotation) |
BeanWiringObserver |
watchedBeanId(org.smooks.api.bean.repository.BeanId watchedBeanId) |
BeanWiringObserver |
watchedBeanType(Class watchedBeanType) |
public BeanWiringObserver(org.smooks.api.bean.repository.BeanId watchingBean,
BeanInstancePopulator populator)
public BeanWiringObserver watchedBeanId(org.smooks.api.bean.repository.BeanId watchedBeanId)
public BeanWiringObserver watchedBeanType(Class watchedBeanType)
public BeanWiringObserver watchedBeanAnnotation(Class<? extends Annotation> watchedBeanAnnotation)
public void onBeanLifecycleEvent(org.smooks.api.bean.lifecycle.BeanContextLifecycleEvent event)
onBeanLifecycleEvent in interface org.smooks.api.bean.lifecycle.BeanContextLifecycleObserverpublic static boolean isMatchingBean(Object bean, Class<?> type, Class<? extends Annotation> annotation)
Copyright © 2023. All rights reserved.