dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
-file.reference.log4j-api-2.3.jar=lib\\log4j-api-2.3.jar
-file.reference.log4j-core-2.3.jar=lib\\log4j-core-2.3.jar
-file.reference.log4j-web-2.3.jar=lib\\log4j-web-2.3.jar
+file.reference.log4j-api-2.3.jar=lib/log4j-api-2.3.jar
+file.reference.log4j-core-2.3.jar=lib/log4j-core-2.3.jar
+file.reference.log4j-web-2.3.jar=lib/log4j-web-2.3.jar
includes=**
jar.archive.disabled=${jnlp.enabled}
jar.compress=false
# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions)
manifest.custom.permissions=
meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=true
+mkdist.disabled=false
platform.active=default_platform
project.license=gpl30
run.classpath=\
--- /dev/null
+/*
+ * Copyright (C) 2015 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jcoreeelogger.beans.local.logger;
+
+import javax.ejb.Singleton;
+import javax.ejb.Startup;
+import javax.inject.Inject;
+import org.apache.logging.log4j.Logger;
+
+/**
+ * A "centralized" logger bean
+ *
+ * @author Roland Haeder
+ */
+@Startup
+@Singleton(name = "logger", mappedName = "logger")
+public class LoggerBean implements LoggerBeanLocal {
+
+ /**
+ * Logger instance
+ */
+ @Inject
+ private Logger logger;
+
+ @Override
+ public void logDebug (String message) {
+ // Deligate to logger
+ this.getLogger().debug(message);
+ }
+
+ @Override
+ public void logDebug (String message, Throwable cause) {
+ // Deligate to logger
+ this.getLogger().debug(message, cause);
+ }
+
+ @Override
+ public void logException (final Throwable throwable) {
+ // Deligate to logger
+ this.getLogger().catching(throwable);
+ }
+
+ @Override
+ public void logFatal (final String message, final Throwable cause) {
+ // Deligate to logger
+ this.getLogger().fatal(message, cause);
+ }
+
+ @Override
+ public void logInfo (final String message) {
+ // Deligate to logger
+ this.getLogger().info(message);
+ }
+
+ @Override
+ public void logFatal (final String message) {
+ // Deligate to logger
+ this.getLogger().fatal(message);
+ }
+
+ @Override
+ public void logInfo (final String message, final Throwable cause) {
+ // Deligate to logger
+ this.getLogger().info(message, cause);
+ }
+
+ @Override
+ public void logTrace (final String message) {
+ // Deligate to logger
+ this.getLogger().trace(message);
+ }
+
+ @Override
+ public void logTrace (final String message, final Throwable cause) {
+ // Deligate to logger
+ this.getLogger().trace(message, cause);
+ }
+
+ @Override
+ public void logWarning (final String message) {
+ // Deligate to logger
+ this.getLogger().warn(message);
+ }
+
+ @Override
+ public void logWarning (final String message, final Throwable cause) {
+ // Deligate to logger
+ this.getLogger().warn(message, cause);
+ }
+
+ /**
+ * Getter for logger
+ * @return Logger
+ */
+ private Logger getLogger () {
+ return this.logger;
+ }
+}
--- /dev/null
+/*
+ * Copyright (C) 2015 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jcoreeelogger.beans.local.logger;
+
+import javax.ejb.Local;
+
+/**
+ *An interface for "centralized" logger
+ *
+ * @author Roland Haeder
+ */
+@Local
+public interface LoggerBeanLocal {
+ /**
+ * Log an exception
+ *
+ * @param throwable Thrown exception
+ */
+ public void logException (final Throwable throwable);
+
+ /**
+ * Log a debug message
+ *
+ * @param message Message to log
+ */
+ public void logDebug (final String message);
+
+ /**
+ * Log a trace message
+ *
+ * @param message Message to log
+ */
+ public void logTrace (final String message);
+
+ /**
+ * Log a info message
+ *
+ * @param message Message to log
+ */
+ public void logInfo (final String message);
+
+ /**
+ * Log a warning message
+ *
+ * @param message Message to log
+ */
+ public void logWarning (final String message);
+
+ /**
+ * Log a fatal message
+ *
+ * @param message Message to log
+ */
+ public void logFatal (final String message);
+
+ /**
+ * Log a trace message and cause
+ *
+ * @param message Message to log
+ * @param cause Causing exception
+ */
+ public void logTrace (final String message, final Throwable cause);
+
+ /**
+ * Log a info message and cause
+ *
+ * @param message Message to log
+ * @param cause Causing exception
+ */
+ public void logInfo (final String message, final Throwable cause);
+
+ /**
+ * Log a debug message and cause
+ *
+ * @param message Message to log
+ * @param cause Causing exception
+ */
+ public void logDebug (final String message, final Throwable cause);
+
+ /**
+ * Log a warning message and cause
+ *
+ * @param message Message to log
+ * @param cause Causing exception
+ */
+ public void logWarning (final String message, final Throwable cause);
+
+ /**
+ * Log a fatal message and cause
+ *
+ * @param message Message to log
+ * @param cause Causing exception
+ */
+ public void logFatal (final String message, final Throwable cause);
+}
+++ /dev/null
-/*
- * Copyright (C) 2015 Roland Haeder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jshopejb.beans.local.logger;
-
-import javax.ejb.Singleton;
-import javax.ejb.Startup;
-import javax.inject.Inject;
-import org.apache.logging.log4j.Logger;
-
-/**
- * A "centralized" logger bean
- *
- * @author Roland Haeder
- */
-@Startup
-@Singleton(name = "logger", mappedName = "logger")
-public class LoggerBean implements LoggerBeanLocal {
-
- /**
- * Logger instance
- */
- @Inject
- private Logger logger;
-
- @Override
- public void logDebug (String message) {
- // Deligate to logger
- this.getLogger().debug(message);
- }
-
- @Override
- public void logDebug (String message, Throwable cause) {
- // Deligate to logger
- this.getLogger().debug(message, cause);
- }
-
- @Override
- public void logException (final Throwable throwable) {
- // Deligate to logger
- this.getLogger().catching(throwable);
- }
-
- @Override
- public void logFatal (final String message, final Throwable cause) {
- // Deligate to logger
- this.getLogger().fatal(message, cause);
- }
-
- @Override
- public void logInfo (final String message) {
- // Deligate to logger
- this.getLogger().info(message);
- }
-
- @Override
- public void logFatal (final String message) {
- // Deligate to logger
- this.getLogger().fatal(message);
- }
-
- @Override
- public void logInfo (final String message, final Throwable cause) {
- // Deligate to logger
- this.getLogger().info(message, cause);
- }
-
- @Override
- public void logTrace (final String message) {
- // Deligate to logger
- this.getLogger().trace(message);
- }
-
- @Override
- public void logTrace (final String message, final Throwable cause) {
- // Deligate to logger
- this.getLogger().trace(message, cause);
- }
-
- @Override
- public void logWarning (final String message) {
- // Deligate to logger
- this.getLogger().warn(message);
- }
-
- @Override
- public void logWarning (final String message, final Throwable cause) {
- // Deligate to logger
- this.getLogger().warn(message, cause);
- }
-
- /**
- * Getter for logger
- * @return Logger
- */
- private Logger getLogger () {
- return this.logger;
- }
-}
+++ /dev/null
-/*
- * Copyright (C) 2015 Roland Haeder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jshopejb.beans.local.logger;
-
-import javax.ejb.Local;
-
-/**
- *An interface for "centralized" logger
- *
- * @author Roland Haeder
- */
-@Local
-public interface LoggerBeanLocal {
- /**
- * Log an exception
- *
- * @param throwable Thrown exception
- */
- public void logException (final Throwable throwable);
-
- /**
- * Log a debug message
- *
- * @param message Message to log
- */
- public void logDebug (final String message);
-
- /**
- * Log a trace message
- *
- * @param message Message to log
- */
- public void logTrace (final String message);
-
- /**
- * Log a info message
- *
- * @param message Message to log
- */
- public void logInfo (final String message);
-
- /**
- * Log a warning message
- *
- * @param message Message to log
- */
- public void logWarning (final String message);
-
- /**
- * Log a fatal message
- *
- * @param message Message to log
- */
- public void logFatal (final String message);
-
- /**
- * Log a trace message and cause
- *
- * @param message Message to log
- * @param cause Causing exception
- */
- public void logTrace (final String message, final Throwable cause);
-
- /**
- * Log a info message and cause
- *
- * @param message Message to log
- * @param cause Causing exception
- */
- public void logInfo (final String message, final Throwable cause);
-
- /**
- * Log a debug message and cause
- *
- * @param message Message to log
- * @param cause Causing exception
- */
- public void logDebug (final String message, final Throwable cause);
-
- /**
- * Log a warning message and cause
- *
- * @param message Message to log
- * @param cause Causing exception
- */
- public void logWarning (final String message, final Throwable cause);
-
- /**
- * Log a fatal message and cause
- *
- * @param message Message to log
- * @param cause Causing exception
- */
- public void logFatal (final String message, final Throwable cause);
-}