private static void addStartup(OMElement startupElement, String fileName, boolean generateFileName,
SynapseConfiguration synapseConfiguration,
SynapseEnvironment synapseEnvironment) {
SimpleQuartzFactory factory = new SimpleQuartzFactory();
Startup startup = factory.createStartup(startupElement);
if (startup == null) {
handleException("Startup is null");
} else {
if (startup instanceof AbstractStartup) {