public class JmxEventEmitter extends NotificationBroadcasterSupport
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Type | Name and description |
---|---|
String |
getEvent() Event type getter |
String |
getMessage() Event message getter |
long |
send(Object data) Called to broadcast message on MBeanServer event bus. |
void |
setEvent(String event) Event type setter |
void |
setMessage(String message) Event message setter. |
Methods inherited from class | Name |
---|---|
class NotificationBroadcasterSupport |
sendNotification, addNotificationListener, removeNotificationListener, removeNotificationListener, getNotificationInfo, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Event type getter
Event message getter
Called to broadcast message on MBeanServer event bus. Internally, it calls NotificationBroadCasterSupport.sendNotification() method to dispatch the event.
data
- - a data object sent as part of the event parameter.Event type setter
event
- - event type set for this emitter.Event message setter.
message
- - message that is associated with event emitted.