Searched defs:notification (Results 1 - 19 of 19) sorted by relevance

/glassfish-3.1.2/admin/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/notification/
H A DNotificationListenerProxy.java41 package com.sun.enterprise.admin.jmx.remote.server.notification;
46 import com.sun.enterprise.admin.jmx.remote.notification.NotificationWrapper;
52 * for every notification listener that is registered by the client.
60 private Notification notification = null; field in class:NotificationListenerProxy
75 * Returns the client id, which has registered the notification listener
84 return ( new NotificationWrapper(objname, notification) );
88 return notification;
91 public void handleNotification( Notification notification, argument
93 this.notification = notification;
[all...]
H A DNotificationConnection.java41 package com.sun.enterprise.admin.jmx.remote.server.notification;
53 import com.sun.enterprise.admin.jmx.remote.notification.SimpleQueue;
54 import com.sun.enterprise.admin.jmx.remote.notification.NotificationWrapper;
58 * This class maintains a notification buffer that is used to buffer notifications
101 * Returns true if an IOException had occurred while dispatching a notification
117 * Sends an empty notification to the client.
118 * An empty notification is sent every 10 seconds.
130 * Called by the ServerNotificationManager whenever a notification needs to be
198 // XXX: Log it; drop the notification
H A DServerNotificationManager.java41 package com.sun.enterprise.admin.jmx.remote.server.notification;
57 import com.sun.enterprise.admin.jmx.remote.notification.NotificationWrapper;
58 import com.sun.enterprise.admin.jmx.remote.notification.ListenerInfo;
88 * Initializes the notification buffer size for new NotificationConnection objects.
89 * The buffer size can be set via the property com.sun.jmx.remote.http.notification.bufsize
95 bsiz = System.getProperty("com.sun.web.jmx.connector.notification.bufsiz");
227 * The keepalive thread that sends an empty notification to every client every 10 seconds.
259 * fireNotification() is invoked by NotificationListenerProxy, whenever a notification
265 return; // Drop this notification; Nobody is listening for this notification
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/
H A DBaseAttributeFilter.java71 * construct attribute change notification event filters when a filter is not
155 * <p>Test whether notification enabled for this event.
158 * <li>This is an attribute change notification</li>
161 * includes the name of the attribute in this notification</li>
164 public boolean isNotificationEnabled(Notification notification) { argument
166 if (notification == null)
168 if (!(notification instanceof AttributeChangeNotification))
171 (AttributeChangeNotification) notification;
H A DFixedNotificationFilter.java71 * a fixed set of notification names.
76 * channels for each notification - and reduce the overhead.
90 * Construct a new filter that accepts only the specified notification
93 * @param names Names of the notification types
112 * <p>Test whether notification enabled for this event.
117 * includes the name of the attribute in this notification</li>
120 public boolean isNotificationEnabled(Notification notification) { argument
122 if (notification == null)
128 return (names.contains(notification.getType()));
H A DBaseNotificationBroadcaster.java98 * Add a notification event listener to this MBean.
163 * Remove a notification event listener from this MBean.
188 * Remove a notification event listener from this MBean.
208 * Remove a notification event listener from this MBean.
231 * Send the specified notification to all interested listeners.
233 * @param notification The notification to be sent
235 public void sendNotification(Notification notification) { argument
243 (!item.filter.isNotificationEnabled(notification)))
245 item.listener.handleNotification(notification, ite
[all...]
H A DManagedBean.java296 * Add a new notification to the set of notifications for this MBean.
298 * @param notification The new notification descriptor
300 public void addNotification(NotificationInfo notification) { argument
307 results[notifications.length] = notification;
H A DBaseModelMBean.java594 log.log(Level.SEVERE, "Error sending notification " + name, ex );
743 * The reference can be used to send notification and access the
828 * Add an attribute change notification event listener to this MBean.
857 * Remove an attribute change notification event listener from
883 * Remove an attribute change notification event listener from
908 * @param notification The <code>AttributeChangeNotification</code>
914 * when the specified notification is <code>null</code> or invalid
917 (AttributeChangeNotification notification)
920 if (notification == null)
927 log.fine("AttributeChangeNotification " + notification );
916 sendAttributeChangeNotification(AttributeChangeNotification notification) argument
982 sendNotification(Notification notification) argument
[all...]
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/notification/
H A DListenerInfo.java41 package com.sun.enterprise.admin.jmx.remote.notification;
H A DNotificationWrapper.java41 package com.sun.enterprise.admin.jmx.remote.notification;
47 * Class to wrap the notification being sent to the client.
48 * This wrapper is used to carry extra information, such as WAIT notification
49 * or an actual notification (type=NOTIF)
H A DSimpleQueue.java41 package com.sun.enterprise.admin.jmx.remote.notification;
H A DClientNotificationManager.java41 package com.sun.enterprise.admin.jmx.remote.notification;
52 import com.sun.enterprise.admin.jmx.remote.notification.SimpleQueue;
53 import com.sun.enterprise.admin.jmx.remote.notification.NotificationWrapper;
54 import com.sun.enterprise.admin.jmx.remote.notification.ListenerInfo;
62 * whenever a notification is received from the server-side.
115 * Registers the notification listener so that they may be called
116 * in case a notification is received.
160 * Unregisters the notification listeners as per the logic defined by
232 * This is the event dispatch thread, which calls the notification listeners
233 * as and when a notification i
[all...]
H A DNotificationReceiver.java41 package com.sun.enterprise.admin.jmx.remote.notification;
59 import com.sun.enterprise.admin.jmx.remote.notification.NotificationWrapper;
64 * This is the notification receiver thread.
175 * The notification receiver thread loop.
177 * try to read a notification message from the connection and notify
178 * the ClientNotificationManager to dispatch the notification.
/glassfish-3.1.2/admin/runtime/jsr77/src/main/java/org/glassfish/admin/runtime/jsr77/
H A DJ2EEEventProviderMOMdl.java84 public void sendNotification(Notification notification){ argument
85 broadcaster.sendNotification(notification);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DMapperListener.java248 * @param notification The notification to be examined
250 * @return true if the notification needs to be sent to this
253 public boolean isNotificationEnabled(Notification notification) { argument
255 if (notification instanceof MBeanServerNotification) {
257 ((MBeanServerNotification) notification).getMBeanName();
280 public void handleNotification(Notification notification, argument
283 if (notification instanceof MBeanServerNotification) {
285 ((MBeanServerNotification) notification).getMBeanName();
346 if (notification
[all...]
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/core/
H A DJkHandler.java181 public void handleNotification(Notification notification, Object handback) argument
183 // BaseNotification bNot=(BaseNotification)notification;
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DMBeanImplBase.java140 public void sendNotification(final Notification notification) { argument
141 getNotificationEmitter().sendNotification(notification);
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/
H A DChannelNioSocket.java111 * jmx:notification name="com.sun.grizzly.tcp.INVOKE
112 * jmx:notification-handler name="org.apache.jk.JK_SEND_PACKET
113 * jmx:notification-handler name="org.apache.jk.JK_RECEIVE_PACKET
114 * jmx:notification-handler name="org.apache.jk.JK_FLUSH
476 // XXX Reverse it -> this is a notification generator !!
751 // Send notification
820 public void sendNewMessageNotification(Notification notification) { argument
822 nSupport.sendNotification(notification);
H A DChannelSocket.java102 * jmx:notification name="com.sun.grizzly.tcp.INVOKE
103 * jmx:notification-handler name="org.apache.jk.JK_SEND_PACKET
104 * jmx:notification-handler name="org.apache.jk.JK_RECEIVE_PACKET
105 * jmx:notification-handler name="org.apache.jk.JK_FLUSH
448 // XXX Reverse it -> this is a notification generator !!
806 // Send notification
875 public void sendNewMessageNotification(Notification notification) { argument
877 nSupport.sendNotification(notification);

Completed in 43 milliseconds