"[EMAIL PROTECTED]" wrote : *on lookup question*
  | 
  | So, I get access to the Kernel and then first lookup in the registry to see 
if Aspect is there.  If it is not there, I look in the KernelController to see 
if it is currently in deployment mode.  If it *does not* exist within the 
KernelController I throw an exception UNKNOWN_ASPECT if does exist in the 
KernelController I thrown an exception ASPECT_NOT_DEPLOYED or whatever...
  | 
  | I can figure out from the testsuite how to get a reference to the Kernel?  
The Kernel should be the entry point into the entire system?
  | 

You don't *get* anything it is pushed to you (IOC)
We want the AspectManager to be deployed as a mc javabean (instead of an
mbean - no changes required here).

Then the jboss-aop.xml would be deployed either through the aspectized
deployer or by direction installation of your metadata model.

Currently you don't have a metadata model, but what we want to do is the
equivalent of
xml -> MC instantiation of AspectMetaData (using Alex's JBossXB)
or somebody could construct it programmatically.

This metadata deployment would then be installed on the controller
including the dependency injection of the AspectManager and at
AspectMetaData.create() it would install the metadata.

This allows us to take parts of the AspectMetaData
(like the aspect factories) and add injections to those
e.g. the tx advice needs to be injected with the transaction manager,
it can declare this in its bean description.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871393#3871393

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871393


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to