From: Roland Haeder Date: Wed, 23 Sep 2015 13:21:33 +0000 (+0200) Subject: also moved to deeper package to get away from project's package level X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=74c6e197ac7be8aea568f4d69de0f56f75bc5d67;p=jshop-receipt-core.git also moved to deeper package to get away from project's package level Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jshopreceipt/PdfReceiptBeanLocal.java b/src/org/mxchange/jshopreceipt/PdfReceiptBeanLocal.java deleted file mode 100644 index 1b3c128..0000000 --- a/src/org/mxchange/jshopreceipt/PdfReceiptBeanLocal.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 . - */ -package org.mxchange.jshopreceipt; - -import javax.ejb.Local; - -/** - *An interface for "centralized" logger - * - * @author Roland Haeder - */ -@Local -public interface PdfReceiptBeanLocal { -} diff --git a/src/org/mxchange/jshopreceipt/Receipt.java b/src/org/mxchange/jshopreceipt/Receipt.java deleted file mode 100644 index c57c10e..0000000 --- a/src/org/mxchange/jshopreceipt/Receipt.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 . - */ -package org.mxchange.jshopreceipt; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import javax.inject.Qualifier; - -/** - * Receipt annotation. This file is based on the example from - * http://memorynotfound.com/java-se-unit-testing-cdi-junit-jboss-weld-se/ and - * has been slightly modified to make it work. - * - * @author Roland Haeder - */ -@Qualifier -@Retention (RetentionPolicy.RUNTIME) -@Target ({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.TYPE}) -public @interface Receipt { -} diff --git a/src/org/mxchange/jshopreceipt/receipt/PdfReceiptBeanLocal.java b/src/org/mxchange/jshopreceipt/receipt/PdfReceiptBeanLocal.java new file mode 100644 index 0000000..413d7e5 --- /dev/null +++ b/src/org/mxchange/jshopreceipt/receipt/PdfReceiptBeanLocal.java @@ -0,0 +1,28 @@ +/* + * 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 . + */ +package org.mxchange.jshopreceipt.receipt; + +import javax.ejb.Local; + +/** + *An interface for "centralized" logger + * + * @author Roland Haeder + */ +@Local +public interface PdfReceiptBeanLocal { +} diff --git a/src/org/mxchange/jshopreceipt/receipt/Receipt.java b/src/org/mxchange/jshopreceipt/receipt/Receipt.java new file mode 100644 index 0000000..b8af9c6 --- /dev/null +++ b/src/org/mxchange/jshopreceipt/receipt/Receipt.java @@ -0,0 +1,36 @@ +/* + * 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 . + */ +package org.mxchange.jshopreceipt.receipt; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; +import javax.inject.Qualifier; + +/** + * Receipt annotation. This file is based on the example from + * http://memorynotfound.com/java-se-unit-testing-cdi-junit-jboss-weld-se/ and + * has been slightly modified to make it work. + * + * @author Roland Haeder + */ +@Qualifier +@Retention (RetentionPolicy.RUNTIME) +@Target ({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.TYPE}) +public @interface Receipt { +}