This content has been marked as final.
Show 7 replies
-
1. Re: DependencyBuilder chain
adrian.brock Apr 27, 2007 6:31 AM (in response to alesj)You need to speak to Kabir.
I will eventually get around to looking at/fixing this stuff to how I think it should work.
e.g. A lot of this stuff should apply to JMX as well (although I don't think we can
really integrate AOP with JMX without changing the JBossMX interceptor model?). -
2. Re: DependencyBuilder chain
alesj Apr 27, 2007 7:45 AM (in response to alesj)"adrian@jboss.org" wrote:
You need to speak to Kabir.
So Kabir :-), what do you think?"adrian@jboss.org" wrote:
I will eventually get around to looking at/fixing this stuff to how I think it should work.
e.g. A lot of this stuff should apply to JMX as well (although I don't think we can
really integrate AOP with JMX without changing the JBossMX interceptor model?).
Which stuff - DependencyBuilder or CallbackItems?
Callbacks only depend on the 2 new interfaces we introduced - InvokeDispatchContext and AttributeDispatchContext - so they are not POJO specific. Maybe only getting the dependant class is more of a problem for MBeans. -
3. Re: DependencyBuilder chain
adrian.brock Apr 27, 2007 7:56 AM (in response to alesj)"alesj" wrote:
"adrian@jboss.org" wrote:
Which stuff - DependencyBuilder or CallbackItems?
Both and some others :-).
Do you know about the JMX integration in
jboss-head/jboss-system-jmx/src/main/org/jboss/system/microcontainer?
Ideally, we should be keeping this up-to-date with features in the MC.
Other examples include metadata and aliases. -
4. Re: DependencyBuilder chain
alesj Apr 27, 2007 8:12 AM (in response to alesj)"adrian@jboss.org" wrote:
Both and some others :-).
:-)
I've re-factored callbacks a bit from initial commit."adrian@jboss.org" wrote:
Do you know about the JMX integration in
jboss-head/jboss-system-jmx/src/main/org/jboss/system/microcontainer?
No. ;-)
'For an example of a simple facade., see the ServiceControllerContext'
- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=103025"adrian@jboss.org" wrote:
Ideally, we should be keeping this up-to-date with features in the MC.
Other examples include metadata and aliases.
Metadata?
Which parts do you have in mind - callbacks, ... ?
Ok, will add aliases for start, and see what I can do about callbacks and other stuff you have in mind. -
5. Re: DependencyBuilder chain
kabirkhan Apr 27, 2007 10:14 AM (in response to alesj)Can you explain the reasoning behind the chain of dependencies a bit? My knowledge pretty much stops at the AOP dependencies, which other dependencies are there?
-
6. Re: DependencyBuilder chain
alesj Apr 27, 2007 12:33 PM (in response to alesj)"kabir.khan@jboss.com" wrote:
Can you explain the reasoning behind the chain of dependencies a bit? My knowledge pretty much stops at the AOP dependencies, which other dependencies are there?
A seperate type of dependencies - AOP, injection, callback, <whatever-dependency>, ...
So that there is a list or chain of DependencyBuilders to execute.
I would like to plug in my @Callback/@Install/@Uninstall inspection.
So, is this the way to do it - AnnotationDependencyBuilder? -
7. Re: DependencyBuilder chain
kabirkhan Apr 30, 2007 9:20 AM (in response to alesj)I think that sounds reasonable.