for (Class<? extends ContainerSetupTask> clazz : classes) {
setupTasks.add(clazz.newInstance());
}
MBeanServerConnection server = mbeanServerInstance.get();
ContainerDef containerConfig = container.getContainerConfiguration();
Map<String, String> props = containerConfig.getContainerProperties();
Context context = new SetupContext(server, props);
for (ContainerSetupTask task : setupTasks) {
task.setUp(context);
}
}