We only touched upon this meta-metadata service during our discussions, 
defining the
requirements for integration with the MC and what is currently provided for AOP.
i.e. at the component level

I think it would have been presumptous of us to try to imagine all the use cases
that such a service would provide when it is was not our immediate concern
and requires input from others (JBoss IDE, admin console, etc.).
The AOP IDE already has a lot of these views at the component level.

We simply noted that such a service was required.

One of the good things about annotations is that they can themselves be 
annotated,
e.g. we are doing this to identify which annotations define dependencies.

But in general this is a cross cutting concern easily handled by annotations.
Annotations do more than define dependency injection or aspects.
e.g. You want to define all objects that configure entry points into the system
which the GateKeeper service needs to know about:


  | @EntryPointConfiguration
  | public class JNDIBinding
  | {
  | public void setTarget(Object o) {}
  | public void setBinding(String binding) {}
  | //etc...
  | @OpenTheGates :-)
  | public void bind() throws Exception
  | {
  |    new InitialContext().bind(binding, o); 
  | }
  | }
  | 

Equally this could be retrofitted to a bean instance using MC config
if it wasn't defined on the class.

  | <bean bean="JNDIBinding">
  |    <annotation name="EntryPointConfiguration"/>
  | // etc.
  | </bean>
  | 

Additionally, some of the query mechanisms already exist in the MicroContainer,
e.g. the ability to get "DependsOnMe" for the transaction manager.

Also on the MC roadmap is the ability to define subsystems, subservices
that allow the grouping of components into a single "Object" for management.
The use cases for this are:
1) I want to stop JMS (subsystem)
2) I want to stop that EJB (also stops any internal subservices like the jndi 
binding
or state replicator)

But as Bill keeps reminding me, we need to work in baby states and iterate.
i.e. we need to make sure we have sure foundation before we try to build on top 
of it.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to