![]() |
Модераторы: LSD, AntonSaburov |
![]() ![]() ![]() |
|
LeoGL |
|
|||
Новичок Профиль Группа: Участник Сообщений: 7 Регистрация: 8.1.2007 Репутация: нет Всего: нет |
на stackoverflow.com задал вчера вечером вопрос, но до сих пор ни одного комментария. Попытаю счастье здесь. Не хочу повторяться, поэтому вопрос просто скопирую сюда.
On the localhost runs an jmx agent which I connect via rmi to. To receive notifications sent by the agent I register a listener which is a ManagedBean (JSF 2.x). The registration happens with mBeanServerConnection.addNotificationListener. Below my listener:
I set a break point in the method handleNotification and see all the notifications are correctly sent and received. I also see in events all notifications received before. Despite of this if the getEvents is called by JSF component (page refresh) it always returns an empty list. So, why does the getEvents always returns an empty list? For me it seems like there are two different instances in deal because of the serialization. Это сообщение отредактировал(а) LeoGL - 11.6.2016, 18:37 |
|||
|
||||
LSD |
|
|||
![]() Leprechaun Software Developer ![]() ![]() ![]() ![]() Профиль Группа: Модератор Сообщений: 15718 Регистрация: 24.3.2004 Где: Dublin Репутация: 210 Всего: 538 |
Дык в чем проблема, проверь свою гипотезу.
-------------------- Disclaimer: this post contains explicit depictions of personal opinion. So, if it sounds sarcastic, don't take it seriously. If it sounds dangerous, do not try this at home or at all. And if it offends you, just don't read it. |
|||
|
||||
![]() ![]() ![]() |
Правила форума "Java" | |
|
Если Вам помогли, и атмосфера форума Вам понравилась, то заходите к нам чаще! С уважением, LSD, AntonSaburov, powerOn, tux, javastic. |
1 Пользователей читают эту тему (1 Гостей и 0 Скрытых Пользователей) | |
0 Пользователей: | |
« Предыдущая тема | Java: Общие вопросы | Следующая тема » |
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |