From: Roland Häder Date: Sun, 3 Sep 2017 01:31:36 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f1878e326c2acb013de254d013f14ec7c74b28b8;p=jfinancials-war.git Please cherry-pick: - no more fully container-independency in favour of caching - removed gf-client (no more Glassfish for already a long time) - used `@NamedCache` (Payara-specific) for annotating fields, very nice, should become generic one day Signed-off-by: Roland Häder --- diff --git a/lib/gf-client.jar b/lib/gf-client.jar deleted file mode 100644 index 2f369f3b..00000000 Binary files a/lib/gf-client.jar and /dev/null differ diff --git a/lib/nblibraries.properties b/lib/nblibraries.properties index 847addc6..db384dcd 100644 --- a/lib/nblibraries.properties +++ b/lib/nblibraries.properties @@ -13,11 +13,9 @@ libs.CopyLibs.classpath=\ ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar libs.CopyLibs.displayName=CopyLibs Task libs.CopyLibs.prop-version=2.0 -libs.JCache_CDI.classpath=\ - ${base}/JCache_CDI/jcache-cdi-0.1-SNAPSHOT.jar -libs.JCache_CDI.displayName=JCache CDI -libs.JCache_CDI.src=\ - ${base}/JCache_CDI/jcache-cdi-0.1-SNAPSHOT-sources.jar!// +libs.payara-api.classpath=\ + ${base}/payara-api/payara-api.jar +libs.payara-api.displayName=Payara API libs.primefaces.classpath=\ ${base}/primefaces/primefaces-6.0.jar libs.primefaces.displayName=PrimeFaces 6.0 diff --git a/lib/payara-api/payara-api.jar b/lib/payara-api/payara-api.jar new file mode 100644 index 00000000..02de279f Binary files /dev/null and b/lib/payara-api/payara-api.jar differ diff --git a/nbproject/project.properties b/nbproject/project.properties index 1e36abd3..cfa5325d 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -37,7 +37,6 @@ endorsed.classpath= excludes= file.reference.jcontacts-business-core.jar=lib/jcontacts-business-core.jar file.reference.cdi-api.jar=lib/cdi-api.jar -file.reference.gf-client.jar=lib/gf-client.jar file.reference.jcontacts-business-lib.jar=lib/jcontacts-business-lib.jar file.reference.jcontacts-core.jar=lib/jcontacts-core.jar file.reference.jcontacts-lib.jar=lib/jcontacts-lib.jar @@ -88,10 +87,10 @@ javac.classpath=\ ${reference.jfinancials-core.jar}:\ ${reference.jfinancials-lib.jar}:\ ${file.reference.cdi-api.jar}:\ - ${file.reference.gf-client.jar}:\ ${libs.apache_poi.classpath}:\ ${libs.primefaces.classpath}:\ - ${libs.cache.classpath} + ${libs.cache.classpath}:\ + ${libs.payara-api.classpath} # Space-separated list of extra javac options javac.compilerargs=-Xlint:unchecked -Xlint:deprecation javac.debug=true diff --git a/nbproject/project.xml b/nbproject/project.xml index c6b4ffe3..23a4457d 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -66,9 +66,6 @@ ${file.reference.cdi-api.jar} - - ${file.reference.gf-client.jar} - ${libs.apache_poi.classpath} @@ -78,6 +75,9 @@ ${libs.cache.classpath} + + ${libs.payara-api.classpath} + diff --git a/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebRequestBean.java index ea14c631..b9a26cb7 100644 --- a/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.business.basicdata; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.Iterator; import java.util.LinkedList; @@ -31,7 +32,6 @@ import org.mxchange.jcontactsbusiness.basicdata.AdminBusinessDataSessionBeanRemo import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData; import org.mxchange.jcontactsbusiness.basicdata.BusinessDataSessionBeanRemote; import org.mxchange.jcontactsbusiness.events.basicdata.added.ObservableAdminAddedBusinessBasicDataEvent; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jcountry.data.Country; import org.mxchange.jfinancials.beans.BaseFinancialsController; import org.mxchange.jfinancials.beans.user.login.FinancialsUserLoginWebSessionController; @@ -60,7 +60,7 @@ public class FinancialsBusinessDataWebRequestBean extends BaseFinancialsControll * A list of all registered companies (globally) */ @Inject - @Cached (cacheName = "basicDataCache") + @NamedCache (cacheName = "basicDataCache", managementEnabled = true) private transient Cache basicDataCache; /** diff --git a/src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsCompanyEmployeeWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsCompanyEmployeeWebRequestBean.java index 9b00752d..f4ca6008 100644 --- a/src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsCompanyEmployeeWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsCompanyEmployeeWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.business.employee; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.util.Iterator; import java.util.LinkedList; import java.util.List; @@ -27,7 +28,6 @@ import javax.inject.Inject; import javax.inject.Named; import org.mxchange.jcontactsbusiness.employee.CompanyEmployeeSessionBeanRemote; import org.mxchange.jcontactsbusiness.employee.Employee; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jfinancials.beans.BaseFinancialsController; /** @@ -54,7 +54,7 @@ public class FinancialsCompanyEmployeeWebRequestBean extends BaseFinancialsContr * List of all company employees */ @Inject - @Cached(cacheName = "companyEmployeeCache") + @NamedCache (cacheName = "companyEmployeeCache", managementEnabled = true) private transient Cache companyEmployeeCache; /** diff --git a/src/java/org/mxchange/jfinancials/beans/contact/FinancialsContactWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/contact/FinancialsContactWebRequestBean.java index 8d47e2b9..7443a08e 100644 --- a/src/java/org/mxchange/jfinancials/beans/contact/FinancialsContactWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/contact/FinancialsContactWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.contact; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.Collections; import java.util.Date; @@ -38,9 +39,9 @@ import org.mxchange.jcontacts.contact.UserContact; import org.mxchange.jcontacts.contact.title.PersonalTitle; import org.mxchange.jcontacts.events.contact.add.ObservableAdminAddedContactEvent; import org.mxchange.jcontacts.events.contact.update.ObservableAdminUpdatedContactEvent; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jcountry.data.Country; import org.mxchange.jfinancials.beans.BaseFinancialsController; +import org.mxchange.jfinancials.beans.user.FinancialsUserWebRequestController; import org.mxchange.jfinancials.beans.user.login.FinancialsUserLoginWebSessionController; import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.phonenumbers.fax.FaxNumber; @@ -56,7 +57,6 @@ import org.mxchange.juserlogincore.events.confirmation.ObservableUserConfirmedAc import org.mxchange.juserlogincore.events.login.ObservableUserLoggedInEvent; import org.mxchange.juserlogincore.events.registration.ObservableUserRegisteredEvent; import org.mxchange.juserlogincore.exceptions.UserPasswordMismatchException; -import org.mxchange.jfinancials.beans.user.FinancialsUserWebRequestController; /** * A general contact bean (controller) @@ -102,7 +102,7 @@ public class FinancialsContactWebRequestBean extends BaseFinancialsController im * Contact list */ @Inject - @Cached (cacheName = "contactsCache") + @NamedCache (cacheName = "contactsCache", managementEnabled = true) private transient Cache contactsCache; /** @@ -119,7 +119,7 @@ public class FinancialsContactWebRequestBean extends BaseFinancialsController im * Email address list */ @Inject - @Cached (cacheName = "emailAddressCache") + @NamedCache (cacheName = "emailAddressCache", managementEnabled = true) private transient Cache emailAddressCache; /** diff --git a/src/java/org/mxchange/jfinancials/beans/contact/phone/FinancialsContactPhoneWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/contact/phone/FinancialsContactPhoneWebRequestBean.java index 0477ae76..c43241ab 100644 --- a/src/java/org/mxchange/jfinancials/beans/contact/phone/FinancialsContactPhoneWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/contact/phone/FinancialsContactPhoneWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.contact.phone; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.LinkedList; import java.util.List; @@ -31,8 +32,8 @@ import org.mxchange.jcontacts.events.contact.update.ObservableAdminUpdatedContac import org.mxchange.jcontacts.events.fax.unlinked.ObservableAdminUnlinkedFaxNumberEvent; import org.mxchange.jcontacts.events.landline.unlinked.ObservableAdminUnlinkedLandLineNumberEvent; import org.mxchange.jcontacts.events.mobile.unlinked.ObservableAdminUnlinkedMobileNumberEvent; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jfinancials.beans.BaseFinancialsController; +import org.mxchange.jfinancials.beans.contact.FinancialsContactWebRequestController; import org.mxchange.jphone.events.fax.created.ObservableCreatedFaxNumberEvent; import org.mxchange.jphone.events.landline.created.ObservableCreatedLandLineNumberEvent; import org.mxchange.jphone.events.mobile.created.ObservableCreatedMobileNumberEvent; @@ -41,7 +42,6 @@ import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber; import org.mxchange.jusercore.events.user.add.ObservableAdminAddedUserEvent; -import org.mxchange.jfinancials.beans.contact.FinancialsContactWebRequestController; /** * A general contact bean (controller) @@ -69,7 +69,7 @@ public class FinancialsContactPhoneWebRequestBean extends BaseFinancialsControll * relationship (one contact, many numbers). */ @Inject - @Cached(cacheName = "contactsPhoneCache") + @NamedCache (cacheName = "contactsPhoneCache", managementEnabled = true) private transient Cache> contactsPhoneCache; /** diff --git a/src/java/org/mxchange/jfinancials/beans/country/FinancialsCountryWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/country/FinancialsCountryWebRequestBean.java index a5a9ccf8..1b99bd27 100644 --- a/src/java/org/mxchange/jfinancials/beans/country/FinancialsCountryWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/country/FinancialsCountryWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.country; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.Iterator; import java.util.LinkedList; @@ -27,7 +28,6 @@ import javax.enterprise.context.RequestScoped; import javax.enterprise.event.Observes; import javax.inject.Inject; import javax.inject.Named; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jcountry.data.Country; import org.mxchange.jcountry.data.CountrySingletonBeanRemote; import org.mxchange.jcountry.events.ObservableAdminAddedCountryEvent; @@ -57,7 +57,7 @@ public class FinancialsCountryWebRequestBean extends BaseFinancialsController im * List of all countries */ @Inject - @Cached (cacheName = "countryCache") + @NamedCache (cacheName = "countryCache", managementEnabled = true) private transient Cache countryCache; /** diff --git a/src/java/org/mxchange/jfinancials/beans/mobileprovider/FinancialsMobileProviderWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/mobileprovider/FinancialsMobileProviderWebRequestBean.java index f4490ca9..51aac6d3 100644 --- a/src/java/org/mxchange/jfinancials/beans/mobileprovider/FinancialsMobileProviderWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/mobileprovider/FinancialsMobileProviderWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.mobileprovider; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.Iterator; import java.util.LinkedList; @@ -27,7 +28,6 @@ import javax.enterprise.context.RequestScoped; import javax.enterprise.event.Observes; import javax.inject.Inject; import javax.inject.Named; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jfinancials.beans.BaseFinancialsController; import org.mxchange.jphone.events.mobileprovider.added.AdminAddedMobileProviderEvent; import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; @@ -47,19 +47,19 @@ public class FinancialsMobileProviderWebRequestBean extends BaseFinancialsContro */ private static final long serialVersionUID = 15_869_423_671_950_276L; - /** - * "Cached" list of mobile providers - */ - @Inject - @Cached (cacheName = "mobileProviderCache") - private transient Cache mobileProviderCache; - /** * Remote EJB for mobile providers (regular) */ @EJB (lookup = "java:global/jfinancials-ejb/mobileprovider!org.mxchange.jphone.phonenumbers.mobileprovider.MobileProviderSingletonBeanRemote") private MobileProviderSingletonBeanRemote mobileProviderBean; + /** + * "Cached" list of mobile providers + */ + @Inject + @NamedCache (cacheName = "mobileProviderCache", managementEnabled = true) + private transient Cache mobileProviderCache; + /** * Default constructor */ diff --git a/src/java/org/mxchange/jfinancials/beans/phone/FinancialsPhoneWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/phone/FinancialsPhoneWebRequestBean.java index 93ba6314..2ff45ecd 100644 --- a/src/java/org/mxchange/jfinancials/beans/phone/FinancialsPhoneWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/phone/FinancialsPhoneWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.phone; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.Iterator; import java.util.LinkedList; @@ -34,7 +35,6 @@ import org.mxchange.jcontacts.events.contact.update.ObservableAdminUpdatedContac import org.mxchange.jcontacts.events.fax.linked.ObservableAdminLinkedFaxNumberEvent; import org.mxchange.jcontacts.events.landline.linked.ObservableAdminLinkedLandLineNumberEvent; import org.mxchange.jcontacts.events.mobile.linked.ObservableAdminLinkedMobileNumberEvent; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jfinancials.beans.BaseFinancialsController; import org.mxchange.jphone.events.fax.deleted.AdminDeletedFaxNumberEvent; import org.mxchange.jphone.events.fax.updated.AdminUpdatedFaxNumberEvent; @@ -66,21 +66,21 @@ public class FinancialsPhoneWebRequestBean extends BaseFinancialsController impl * All fax numbers */ @Inject - @Cached(cacheName = "faxNumberCache") + @NamedCache (cacheName = "faxNumberCache", managementEnabled = true) private transient Cache faxNumberCache; /** * All land-line numbers */ @Inject - @Cached(cacheName = "landLineNumberCache") + @NamedCache (cacheName = "landLineNumberCache", managementEnabled = true) private transient Cache landLineNumberCache; /** * All mobile numbers */ @Inject - @Cached(cacheName = "mobileNumberCache") + @NamedCache (cacheName = "mobileNumberCache", managementEnabled = true) private transient Cache mobileNumberCache; /** diff --git a/src/java/org/mxchange/jfinancials/beans/user/FinancialsUserWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/user/FinancialsUserWebRequestBean.java index bb2c9bc2..e6c1df1d 100644 --- a/src/java/org/mxchange/jfinancials/beans/user/FinancialsUserWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/user/FinancialsUserWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.user; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.Iterator; import java.util.LinkedList; @@ -35,8 +36,8 @@ import javax.inject.Inject; import javax.inject.Named; import org.mxchange.jcontacts.contact.Contact; import org.mxchange.jcoreee.events.locale.ObservableLocaleChangeEvent; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jfinancials.beans.BaseFinancialsController; +import org.mxchange.jfinancials.beans.contact.FinancialsContactWebRequestController; import org.mxchange.jfinancials.beans.features.FinancialsFeaturesWebApplicationController; import org.mxchange.jfinancials.beans.localization.FinancialsLocalizationSessionController; import org.mxchange.jfinancials.beans.user.login.FinancialsUserLoginWebSessionController; @@ -63,7 +64,6 @@ import org.mxchange.juserlogincore.events.registration.ObservableUserRegisteredE import org.mxchange.juserlogincore.events.user.password_change.ObservableUpdatedUserPasswordEvent; import org.mxchange.juserlogincore.exceptions.UserPasswordMismatchException; import org.mxchange.juserlogincore.login.UserLoginUtils; -import org.mxchange.jfinancials.beans.contact.FinancialsContactWebRequestController; /** * A user bean (controller) @@ -115,18 +115,18 @@ public class FinancialsUserWebRequestBean extends BaseFinancialsController imple @EJB (lookup = "java:global/jfinancials-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote") private UserSessionBeanRemote userBean; - /** - * User id - */ - private Long userId; - /** * A list of all user profiles */ @Inject - @Cached (cacheName = "userCache") + @NamedCache (cacheName = "userCache", managementEnabled = true) private transient Cache userCache; + /** + * User id + */ + private Long userId; + /** * Login controller (bean) */ @@ -142,7 +142,7 @@ public class FinancialsUserWebRequestBean extends BaseFinancialsController imple * User name list */ @Inject - @Cached (cacheName = "userNameCache") + @NamedCache (cacheName = "userNameCache", managementEnabled = true) private transient Cache userNameCache; /** diff --git a/src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java index e699cf6e..d9565b89 100644 --- a/src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.user.activity; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.Collections; import java.util.GregorianCalendar; @@ -28,7 +29,6 @@ import javax.enterprise.context.RequestScoped; import javax.enterprise.event.Observes; import javax.inject.Inject; import javax.inject.Named; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jfinancials.beans.BaseFinancialsController; import org.mxchange.jusercore.events.user.add.ObservableAdminAddedUserEvent; import org.mxchange.jusercore.events.user.created.ObservableCreatedUserEvent; @@ -79,8 +79,8 @@ public class FinancialsUserActivityWebRequestBean extends BaseFinancialsControll * "Cache" for activity log per user */ @Inject - @Cached(cacheName = "usersActivityCache") - private transient Cache> usersActivityCache; + @NamedCache (cacheName = "userActivityCache", managementEnabled = true) + private transient Cache> userActivityCache; /** * Default constructor @@ -508,9 +508,9 @@ public class FinancialsUserActivityWebRequestBean extends BaseFinancialsControll List list = new LinkedList<>(); // Is the user set? - if (this.usersActivityCache.containsKey(this.getUser())) { + if (this.userActivityCache.containsKey(this.getUser())) { // Return it - list.addAll(this.usersActivityCache.get(this.getUser())); + list.addAll(this.userActivityCache.get(this.getUser())); // Sort list and reverse it Collections.sort(list, new UserActivityLogTimestampComparator()); @@ -550,13 +550,13 @@ public class FinancialsUserActivityWebRequestBean extends BaseFinancialsControll // Put all in map, per-user for (final LogableUserActivity userActivity : list) { // Is the list there? - if (!this.usersActivityCache.containsKey(userActivity.getActivityUser())) { + if (!this.userActivityCache.containsKey(userActivity.getActivityUser())) { // Init list - this.usersActivityCache.put(userActivity.getActivityUser(), new LinkedList()); + this.userActivityCache.put(userActivity.getActivityUser(), new LinkedList()); } // Add by user instance - boolean added = this.usersActivityCache.get(userActivity.getActivityUser()).add(userActivity); + boolean added = this.userActivityCache.get(userActivity.getActivityUser()).add(userActivity); // Should be added assert (added) : "Activity log not added"; //NOI18N @@ -665,13 +665,13 @@ public class FinancialsUserActivityWebRequestBean extends BaseFinancialsControll } // Is it there? - if (!this.usersActivityCache.containsKey(userActivity.getActivityUser())) { + if (!this.userActivityCache.containsKey(userActivity.getActivityUser())) { // Init it - this.usersActivityCache.put(userActivity.getActivityUser(), new LinkedList()); + this.userActivityCache.put(userActivity.getActivityUser(), new LinkedList()); } // Add activity to log - this.usersActivityCache.get(userActivity.getActivityUser()).add(userActivity); + this.userActivityCache.get(userActivity.getActivityUser()).add(userActivity); } } diff --git a/src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java index d3862692..0eb28e83 100644 --- a/src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/user/email_address/FinancialsEmailChangeWebRequestBean.java @@ -16,6 +16,7 @@ */ package org.mxchange.jfinancials.beans.user.email_address; +import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; import java.util.Iterator; import java.util.List; @@ -28,7 +29,6 @@ import javax.faces.view.facelets.FaceletException; import javax.inject.Inject; import javax.inject.Named; import org.mxchange.jcontacts.contact.Contact; -import org.mxchange.jcoreee.jcache.Cached; import org.mxchange.jcoreee.utils.FacesUtils; import org.mxchange.jfinancials.beans.BaseFinancialsController; import org.mxchange.jfinancials.beans.features.FinancialsFeaturesWebApplicationController; @@ -79,7 +79,7 @@ public class FinancialsEmailChangeWebRequestBean extends BaseFinancialsControlle * Local list of already queued email addresses */ @Inject - @Cached (cacheName = "queuedEmailCache") + @NamedCache (cacheName = "queuedEmailCache", managementEnabled = true) private transient Cache queuedEmailCache; /**