{
throw new ManagedLifecycleException("Managed instance [" + classname +
"] does not have correct constructor. This class must contain a public constructor of the form 'public " +
instanceClass.getSimpleName() + "(" + ConfigTree.class.getName() + " config);'");
}
final ManagedLifecycle instance ;
try
{
instance = (ManagedLifecycle)constructor.newInstance(child) ;
}
catch (final Exception ex)