org.milyn.javabean.observers
Class BeanWiringObserver

java.lang.Object
  extended by org.milyn.javabean.observers.BeanWiringObserver
All Implemented Interfaces:
org.milyn.javabean.lifecycle.BeanContextLifecycleObserver

public class BeanWiringObserver
extends Object
implements org.milyn.javabean.lifecycle.BeanContextLifecycleObserver

BeanContext Observer performing bean wiring.

Author:
tom.fennelly@gmail.com

Constructor Summary
BeanWiringObserver(org.milyn.javabean.repository.BeanId watchingBean, BeanInstancePopulator populator)
           
 
Method Summary
static boolean isMatchingBean(Object bean, Class<?> type, Class<? extends Annotation> annotation)
           
 void onBeanLifecycleEvent(org.milyn.javabean.lifecycle.BeanContextLifecycleEvent event)
           
 BeanWiringObserver watchedBeanAnnotation(Class<? extends Annotation> watchedBeanAnnotation)
           
 BeanWiringObserver watchedBeanId(org.milyn.javabean.repository.BeanId watchedBeanId)
           
 BeanWiringObserver watchedBeanType(Class watchedBeanType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanWiringObserver

public BeanWiringObserver(org.milyn.javabean.repository.BeanId watchingBean,
                          BeanInstancePopulator populator)
Method Detail

watchedBeanId

public BeanWiringObserver watchedBeanId(org.milyn.javabean.repository.BeanId watchedBeanId)

watchedBeanType

public BeanWiringObserver watchedBeanType(Class watchedBeanType)

watchedBeanAnnotation

public BeanWiringObserver watchedBeanAnnotation(Class<? extends Annotation> watchedBeanAnnotation)

onBeanLifecycleEvent

public void onBeanLifecycleEvent(org.milyn.javabean.lifecycle.BeanContextLifecycleEvent event)
Specified by:
onBeanLifecycleEvent in interface org.milyn.javabean.lifecycle.BeanContextLifecycleObserver

isMatchingBean

public static boolean isMatchingBean(Object bean,
                                     Class<?> type,
                                     Class<? extends Annotation> annotation)


Copyright © 2018. All rights reserved.