>> In addition I would like to add an attribute to the jboss.properties
>> file keeping a list of the methods to call on the MBean when it
>> get started (to make it simpler we can add a parameter to the
>> DependencyManager saying what is the default method(s) to
>> call if not specified).
>>
>> Any objections?
>
>Yes. We have an interface "Service" that mandates the method to be
>called "start". Why have an option? It will only make things confusing.
>
>Also, do not add configuration options to jboss.properties.
>Configuration should be done through jboss.conf or jboss.jcml.
>
>/Rickard
Right now the implementation of the DependencyManager does not check for
MBeans implementing a common interface. Rather it looks for MBeans that
conform to an object naming pattern of ":service=XXX" and then uses
introspection to look for a start method. I'm not sure if there is a reason for this
as opposed to just checking to see if the MBean does implement the Service
interface.