Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » 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 Kaplan
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: Tue Sep 30 13:55:01 GMT 2014

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

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