Announcement Announcement Module
Collapse
No announcement yet.
How to define interceptor interface for annotation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to define interceptor interface for annotation

    Hi All,

    Currently we use BeanNameAutoProxyCreator with a list of beans that we want to intercept. The problem with this solution is that we have to handle the list in out application context and when adding new bean we need to add it to the list.
    Is there a way to define one interface (AuthorizationAware for example) and all the other beans will be intercept when extending the AuthorizationAware?

    Thanks in advance,
    Itay
Working...
X