Announcement Announcement Module
Collapse
No announcement yet.
Passing properties to DynamicIntroductionAdvise Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Passing properties to DynamicIntroductionAdvise

    When creating a DynamicIntroductionAdvise/advisor pair using DefaultIntroductionAdvisor, how can I set properties on the advise other than through its constructor. I prefer properties over constructor arguments.

    DefaultInstroductionAdvisor offers no properties to pass the DynamicIntroductionAdvise and interface class, so to my understanding the advise has to be created like this:
    Code:
    public class MyAdvisor extends DefaultIntroductionAdvisor {
    	public MyAdvisor() {
    		super(new MyDelegatingIntroductionInterceptor(), MyInterface.class);
    	}
    }
Working...
X