import java.io.Serializable;
import java.util.ResourceBundle;
+import javax.ejb.EJB;
+import org.mxchange.jcoreeelogger.beans.local.logger.Log;
+import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
/**
* A general bean class. Do not put things in here that are not serializable.
*/
private ResourceBundle bundle;
+ /**
+ * Logger instance
+ */
+ @EJB
+ @Log
+ private LoggerBeanLocal logger;
+
/**
* Protected constructor, please don't add init() call here.
*/
this.bundle = ResourceBundle.getBundle("org/mxchange/localization/bundle");
}
+ /**
+ * Returns an EJB logger instance
+ *
+ * @return EBJ logger instance
+ */
+ protected LoggerBeanLocal getLogger () {
+ return this.logger;
+ }
+
/**
* Getter for localized message from key
*