Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » confused on how to setup projects
confused on how to setup projects [message #592171] Tue, 14 February 2006 21:52
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
I have the following projects:

P1 - contains the aspect below
P2 - contains the class annotated with @Configurable
hibernate.jar - also needs to be weaved (I guess)

For this scenario, what are the AJDT project settings to get a static compile. (I can get load time working just fine, but can't for the life of me figure out how to setup the projects).

thanks!!!!

----
My aspect is:

@Aspect
public class HibernateAwareAnnotationBeanConfigurerAspect extends BeanConfigurerSupport {

@Pointcut(" initialization((@org.springframework.beans.factory.annotatio n.Configurable *).new(..)) && this(beanInstance)")
void beanCreation(Object beanInstance) {}

@Pointcut("execution(* org.hibernate.engine.UnsavedValueFactory.instantiate(..))")
void hibernateUnsavedValueFactory() {}

@AfterReturning("beanCreation(beanInstance) && !cflow(hibernateUnsavedValueFactory())")
public void configure(Object beanInstance) {
configureBean(beanInstance);
}
}
Previous Topic:Which version for Websphere WSAD
Next Topic:Instances going out of scope
Goto Forum:
  


Current Time: Fri Mar 29 14:25:18 GMT 2024

Powered by FUDForum. Page generated in 0.02010 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top