/** * When an Entry is inserted, updated, or arrives via a partition transfer need to ensure that the MBean * for this {@link Topic} is properly visible. * * @param entry The {@link BinaryEntry} provided by the LiveObjectInterceptor */ @OnInserted @OnUpdated @OnArrived @OnRestored public void onChanged(BinaryEntry entry) { if (logger.isLoggable(Level.FINER)) { logger.log(Level.FINER, "Topic:onChanged identifier:{0}", getIdentifier()); } MessagingMBeanManager MBeanManager = MessagingMBeanManager.getInstance(); MBeanManager.registerMBean(this, TopicProxy.class, MBeanManager.buildTopicMBeanName(getIdentifier())); }
@OnInserted @OnArrived @OnRestored
/** * When an Entry is inserted, updated, or arrives via a partition transfer need to ensure that the MBean * and lease for this @{TopicSubscription} is properly visible. * * @param entry The {@link BinaryEntry} provided by the LiveObjectInterceptor */ @OnInserted @OnUpdated @OnArrived @OnRestored public void onChanged(BinaryEntry entry) { if (logger.isLoggable(Level.FINER)) { logger.log(Level.FINER, "TopicSubscription:onChanged identifier:{0}", getIdentifier()); } // Handle lease processing registerLease(); MessagingMBeanManager MBeanManager = MessagingMBeanManager.getInstance(); MBeanManager.registerMBean(this, SubscriptionProxy.class, MBeanManager.buildTopicSubscriptionMBeanName(getIdentifier())); }
/** * When an Entry is inserted, updated, or arrived via a partition transfer need to ensure that the * MBean and lease for this {@link QueueSubscription} is properly visible. * * @param entry The {@link BinaryEntry} provided by the LiveObjectInterceptor */ @OnInserted @OnUpdated @OnArrived @OnRestored public void onChanged(BinaryEntry entry) { if (logger.isLoggable(Level.FINER)) { logger.log(Level.FINER, "QueueSubscription:onChanged identifier:{0}", getIdentifier()); } // Handle lease processing registerLease(); // Register the subscription MBEAN MessagingMBeanManager MBeanManager = MessagingMBeanManager.getInstance(); MBeanManager.registerMBean(this, QueueSubscriptionProxy.class, MBeanManager.buildQueueSubscriptionMBeanName(getIdentifier())); }
@OnInserted @OnArrived @OnRestored
@OnInserted @OnUpdated @OnArrived