Agents must be started in the correct order, i.e. RmiRegistryAgent must be started before JmxAgent.
The implementation idea would be to extend the Agent interface so that each Agent impl. can specify the agent classes that must be started beforehand and have the DefaultLifecyclePhase properly sort out the correct order.
Description
Agents must be started in the correct order, i.e. RmiRegistryAgent must be started before JmxAgent.
The implementation idea would be to extend the Agent interface so that each Agent impl. can specify the agent classes that must be started beforehand and have the DefaultLifecyclePhase properly sort out the correct order.