RE: [coldbox:17068] Re: [3.5.3] AOP, DI, and FrameworkSupertype

Ben, I’m poking around in your code example trying to see if my theory below is correct or not. I’m having a hard time finding where your aspect is extended at runtime with FrameworkSupertype methods. I can’t find where the framework supertype is being extended at “compile” time or run time.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

The runtime extension happens in the framework itself. It’s the same way you don’t have to extend a base class in your interceptors, handlers, etc.

While I don’t know the where/how of it, I just observed the methods when I dumped out the aspect.

I think you are mistaken about that dump (unless I’m mistaken about cfdump)
http://www.screencast.com/t/jQPDFVW7d5

Those methods belong to that instance, the methods belonging to the entity service are not shown on that screenshot because that section of the dump is collapsed

https://github.com/ColdBox/coldbox-platform/issues/122

nope, I AM mistaken...

If I inject an instance of MessageBox, those methods are listed...

Aren't methods listed in that section ones that belong directly to that
instance? (even though, you are right they are coming from the
entityservice... and the plugin)

I’m an idiot and forgot to paste this link: http://www.screencast.com/t/jQPDFVW7d5

sorry for keeping this thread going