if (Validator.isNotNull(portlet.getIndexerClass())) {
indexerInstance = (Indexer)contextClassLoader.loadClass(
portlet.getIndexerClass()).newInstance();
}
Scheduler schedulerInstance = null;
if (Validator.isNotNull(portlet.getSchedulerClass())) {
schedulerInstance = (Scheduler)contextClassLoader.loadClass(
portlet.getSchedulerClass()).newInstance();
}