PDA

View Full Version : Introduction Advice


jmbowles
09-12-2005, 04:24 PM
Please forgive my ignorance as I'm currently cutting my teeth on the Spring Framework ... I need some advice (no pun intended)

I'm researching the ability to decorate a target object with additional method behaviors. At this point, I need some help. Can you point me in the right direction in terms of a sample implementation, from start to finish ?

Thanks for the help ... I really appreciate it.

Rick Evans
09-12-2005, 07:08 PM
Hiya

I hear you.... shucks, do I hear you.

The AOP QuickStart (http://www.springframework.net/doc/reference/html/aop-quickstart.html) chapter of the reference documentation . If you can hold out till Wednesday (when Spring.NET 1.0 final is being released), you'll be able to read a substantially improved AOP QuickStart, covering all the advice types (barring introductions unfortunately... I'll see if I can find some time tonight to document introductions), with examples of both programmatic and XML config usage.

I doubt that I'll have... actually, I know I won't have :(... finished the 'Real World Example' section of said chapter by tomorrow night (the deadline) . I'm working on it... I'll keep you posted.

As a whole, the Spring.NET team are working on a sample application that covers all areas of Spring.NET, from IoC through Spring.Web through Spring.NET AOP in the 1.1 timeframe. We're working on it... I'll keep you posted.

Ciao
Rick

jmbowles
09-12-2005, 09:13 PM
Hiya

I hear you.... shucks, do I hear you.

The AOP QuickStart (http://www.springframework.net/doc/reference/html/aop-quickstart.html) chapter of the reference documentation . If you can hold out till Wednesday (when Spring.NET 1.0 final is being released), you'll be able to read a substantially improved AOP QuickStart, covering all the advice types (barring introductions unfortunately... I'll see if I can find some time tonight to document introductions), with examples of both programmatic and XML config usage.

I doubt that I'll have... actually, I know I won't have :(... finished the 'Real World Example' section of said chapter by tomorrow night (the deadline) . I'm working on it... I'll keep you posted.

As a whole, the Spring.NET team are working on a sample application that covers all areas of Spring.NET, from IoC through Spring.Web through Spring.NET AOP in the 1.1 timeframe. We're working on it... I'll keep you posted.

Ciao
Rick

Thanks for the quick response. The existing documentation did help. I extended the DefaultIntroductionAdvisor, the reference implementation for the IAdvice and ITargetAware interfaces. As a result, I was able to quickly decorate a target with additional behavior.

Thanks again ...

John.