Searched refs:notification (Results 1 - 25 of 32) sorted by relevance

12

/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 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 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 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 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...]
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;
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/
H A DNamingService.java159 Notification notification = null;
168 notification = new AttributeChangeNotification
172 sendNotification(notification);
195 notification = new AttributeChangeNotification
199 sendNotification(notification);
203 notification = new AttributeChangeNotification
207 sendNotification(notification);
217 Notification notification = null;
224 notification = new AttributeChangeNotification
228 sendNotification(notification);
[all...]
/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);
H A DJ2EEDeployedObjectMdl.java172 Notification notification = null;
175 notification = new Notification( state, objectName, sequenceNo);
178 this.sendNotification( notification );
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/notification/
H A DSimpleQueue.java41 package 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 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/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/callers/
H A DAddNotifLsnrsCaller.java57 import com.sun.enterprise.admin.jmx.remote.server.notification.NotificationListenerProxy;
58 import com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager;
H A DAddNotifLsnrObjNameCaller.java62 import com.sun.enterprise.admin.jmx.remote.notification.ListenerInfo;
63 import com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager;
H A DRemoveNotifLsnrObjNameFilterHandbackCaller.java58 import com.sun.enterprise.admin.jmx.remote.notification.ListenerInfo;
59 import com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager;
H A DRemoveNotifLsnrCaller.java58 import com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager;
H A DRemoveNotifLsnrFilterHandbackCaller.java59 import com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager;
H A DMethodCallers.java54 import com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager;
/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-core/src/main/java/org/apache/catalina/core/
H A DStandardWrapper.java225 * The notification sequence number.
2012 // Send j2ee.state.starting notification
2014 Notification notification = new Notification("j2ee.state.starting",
2017 broadcaster.sendNotification(notification);
2031 // Send j2ee.state.running notification
2033 Notification notification =
2036 broadcaster.sendNotification(notification);
2052 // Send j2ee.state.stopping notification
2054 Notification notification =
2057 broadcaster.sendNotification(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;

Completed in 545 milliseconds

12