Aspect « Roo « Spring Q&A





1. Do aspects substitute repositories?    stackoverflow.com

I started experimenting with Spring Roo just recently. It does a very nice job helping one build a domain model with integrated persistence rather quickly. As it adds persistence functionality in ...

2. Autocompletion in Eclipse for Roo project    stackoverflow.com

I've got a Roo project where I've made a couple of entities, and when I load up the project in Eclipse it loads up fine, but if I i.e. make an ...

3. Spring Roo and aspect-oriented programming    stackoverflow.com

i've been running some experiments of my own with Spring Roo and it seems to be pretty cool, but i noticed that this tool makes heavy use of AOP on the ...

4. Spring Security EL not working in Roo generated aspects    forum.springsource.org

Hi Guys, I'm trying to apply the @Secured/@PreAuthorize on my Roo generetd Controller aspects methods. All works as expected when i try something like Code: @RequestMapping(value = "/{id}", method = RequestMethod.DELETE) ...

5. Aspect related exception in Roo project while using 3.1 cache    forum.springsource.org

Hello AOP neighbors, I am having the following exception Post-processor tried to replace bean instance of type [org.pragmatikroo.ngncmvc.Agrowth] with (proxy) object of type [$Proxy41] - not supported for aspect-configured classes!, when ...

6. AspectJ Pointcuts in Methods Injected by Roo Generated Aspects    forum.springsource.org

Hello, I am trying to use custom aspects to wrap certain .persist() methods as follows: TestAspect.java Code: package com.test.domain.util; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; @Aspect public class TestAspect { @Before("com.test.domain.util.LegalEntity.persist()") public void ...

7. @RooEntity aspect    forum.springsource.org

Hello, I am new in Spring Roo. I created an entity and roo automatically generated aspects. I'd like to ask if there is some possibility how to intercept generated aspect methods ...

8. Roo stops generating aspects    forum.springsource.org

Roo stops generating aspects I use Roo 1.1.3 in STS 2.6.1. Very often Roo just stops generating aspects code. If I enter the command, for example, "entity --class ~.domain.myproject.Address"; Roo will ...

9. Pre- and PostPersist in a Roo Aspect?    forum.springsource.org

Hi I'm finding myself putting the following snippet in most of my entities: Code: @PrePersist protected void onCreate() { dateCreated = new Date(); } @PreUpdate protected void onUpdate() { lastUpdated = ...





10. Why roo-1.1.0.M2 dont generated aspect files?    forum.springsource.org

subj. I`ve install sts-2.3.3M2 roo-1.1.0.M2 and spring-flex-1.5.0.M1. Add to roo bundles path org.springframework.flex.roo.addon-1.0.0.M1.jar and rename to org.springframework.flex.roo.addon-1.0.0.M2.jar. Starting sts, create a roo project. In roo console entering: Code: persistence setup --provider ...

11. using roo aspects without persistence    forum.springsource.org

using roo aspects without persistence Hi, We like Roo. We are using it in few modules, but in some places we just use @RooJavaBean, we are not interested in @RooEntity. What ...