Questions tagged [aopalliance]

The AOP Alliance project is a joint open-source project between several software engineering people who are interested in AOP and Java.

From website: The AOP Alliance project is a joint open-source project between several software engineering people who are interested in AOP and Java.

19 questions
0
votes
1 answer

filter for services with guice injector in MVC architecture

We have several modules, each with few services. We are using play framework and it works well with juice dependency injector. for example, For module x, @implementedBy(XI1Impl.class) interface XI1 {....} class XI1Impl implements…
0
votes
1 answer

Using a MethodInterceptor to wrap calls to protected method

I would like to use XML based Spring configuration to wrap calls to a protected method in a 3rd party class. I have wired up some spring classes from org.springframework.aop.support. It works for public methods, but it fails for protected…
Andreas Steffan
  • 6,039
  • 2
  • 23
  • 25
0
votes
1 answer

JSF, Exception Logging using a aopalliance MethodInterceptor

I would like to log the exceptions that are thrown when serving JSF files in the same way other exceptions are logged in our web application. We annotate classes with logged exceptions with @LoggedExceptions and a MehtodInterceptor is matched…
kungfoo
  • 1,297
  • 1
  • 14
  • 27
0
votes
2 answers

AOP can be use to share data among different running threads in application process?

UPDATE: I am not clear in what context AOP should be used? As we can use AOP for logging purpose, security(Authentication), please suggest some other scenarios where we can take benefit of AOP. Can AOP be used to share data among different running…
Jaswant Agarwal
  • 4,755
  • 9
  • 39
  • 49
1
2