All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.firefly.core.support.AbstractBeanReader Maven / Gradle / Ivy

There is a newer version: 4.0.3.2
Show newest version
package com.firefly.core.support;

import java.util.List;

import com.firefly.core.support.exception.BeanDefinitionParsingException;
import com.firefly.utils.log.Log;
import com.firefly.utils.log.LogFactory;

public class AbstractBeanReader implements BeanReader {
	private static Log log = LogFactory.getInstance().getLog("firefly-system");
	protected List beanDefinitions;

	@Override
	public List loadBeanDefinitions() {
		return beanDefinitions;
	}

	protected void error(String msg) {
		log.error(msg);
		throw new BeanDefinitionParsingException(msg);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy