
Loving the 50mm!
shutternox
- be true to the 50, and the 50 will be true to you...
My blog is worth $4,516.32.
How much is your blog worth?
package com.mobileindie.spring.utils;
import org.springframework.beans.factory.aspectj.AbstractBeanConfigurerAspect;
import org.springframework.beans.factory.wiring.ClassNameBeanWiringInfoResolver;
public aspect DomainObjectConfiguration extends AbstractBeanConfigurerAspect {
public DomainObjectConfiguration() {
setBeanWiringInfoResolver(new ClassNameBeanWiringInfoResolver());
}
// the creation of a new bean (any object in the domain model)
protected pointcut beanCreation(Object beanInstance) :
initialization(com.mobileindie.domains..new(..)) &&
this(beanInstance);
}