public abstract class BaseEmitterBean
extends javax.management.StandardMBean
implements javax.management.NotificationEmitter
| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.cache.ehcache.management.impl.BaseEmitterBean.Emitter |
emitter
emitter
|
protected java.util.concurrent.atomic.AtomicLong |
sequenceNumber
sequenceNumber
|
| Modifier | Constructor and Description |
|---|---|
protected |
BaseEmitterBean(java.lang.Class<T> mbeanInterface)
BaseEmitterBean
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(javax.management.NotificationListener notif,
javax.management.NotificationFilter filter,
java.lang.Object callBack) |
void |
dispose()
Dispose of this SampledCacheManager and clean up held resources
|
protected abstract void |
doDispose()
Dispose callback of subclasses
|
abstract javax.management.MBeanNotificationInfo[] |
getNotificationInfo() |
void |
removeNotificationListener(javax.management.NotificationListener listener) |
void |
removeNotificationListener(javax.management.NotificationListener notif,
javax.management.NotificationFilter filter,
java.lang.Object callBack) |
void |
sendNotification(java.lang.String eventType)
sendNotification
|
void |
sendNotification(java.lang.String eventType,
java.lang.Object data)
sendNotification
|
void |
sendNotification(java.lang.String eventType,
java.lang.Object data,
java.lang.String msg)
sendNotification
|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationprotected final org.hibernate.cache.ehcache.management.impl.BaseEmitterBean.Emitter emitter
protected final java.util.concurrent.atomic.AtomicLong sequenceNumber
protected BaseEmitterBean(java.lang.Class<T> mbeanInterface)
throws javax.management.NotCompliantMBeanException
T - mbeanInterface - javax.management.NotCompliantMBeanExceptionpublic void sendNotification(java.lang.String eventType)
eventType - public void sendNotification(java.lang.String eventType,
java.lang.Object data)
eventType - data - public void sendNotification(java.lang.String eventType,
java.lang.Object data,
java.lang.String msg)
eventType - data - msg - public final void dispose()
protected abstract void doDispose()
public void addNotificationListener(javax.management.NotificationListener notif,
javax.management.NotificationFilter filter,
java.lang.Object callBack)
addNotificationListener in interface javax.management.NotificationBroadcasterNotificationBroadcaster.addNotificationListener(javax.management.NotificationListener,
javax.management.NotificationFilter, java.lang.Object)public abstract javax.management.MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface javax.management.NotificationBroadcasterNotificationBroadcaster.getNotificationInfo()public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
removeNotificationListener in interface javax.management.NotificationBroadcasterjavax.management.ListenerNotFoundExceptionNotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)public void removeNotificationListener(javax.management.NotificationListener notif,
javax.management.NotificationFilter filter,
java.lang.Object callBack)
throws javax.management.ListenerNotFoundException
removeNotificationListener in interface javax.management.NotificationEmitterjavax.management.ListenerNotFoundExceptionNotificationEmitter.removeNotificationListener(javax.management.NotificationListener,
javax.management.NotificationFilter, java.lang.Object)Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.