public abstract class BaseEmitterBean extends StandardMBean implements NotificationEmitter
| Modifier and Type | Field and Description |
|---|---|
protected net.sf.ehcache.hibernate.management.impl.BaseEmitterBean.Emitter |
emitter
emitter
|
protected AtomicLong |
sequenceNumber
sequenceNumber
|
| Modifier | Constructor and Description |
|---|---|
protected |
BaseEmitterBean(Class<T> mbeanInterface)
BaseEmitterBean
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(NotificationListener notif,
NotificationFilter filter,
Object callBack) |
void |
dispose()
Dispose of this SampledCacheManager and clean up held resources
|
protected abstract void |
doDispose()
Dispose callback of subclasses
|
abstract MBeanNotificationInfo[] |
getNotificationInfo() |
void |
removeNotificationListener(NotificationListener listener) |
void |
removeNotificationListener(NotificationListener notif,
NotificationFilter filter,
Object callBack) |
void |
sendNotification(String eventType)
sendNotification
|
void |
sendNotification(String eventType,
Object data)
sendNotification
|
void |
sendNotification(String eventType,
Object data,
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 net.sf.ehcache.hibernate.management.impl.BaseEmitterBean.Emitter emitter
protected final AtomicLong sequenceNumber
protected BaseEmitterBean(Class<T> mbeanInterface) throws NotCompliantMBeanException
T - mbeanInterface - NotCompliantMBeanExceptionpublic void sendNotification(String eventType)
eventType - public void sendNotification(String eventType, Object data)
eventType - data - public void sendNotification(String eventType, Object data, String msg)
eventType - data - msg - public final void dispose()
protected abstract void doDispose()
public void addNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack)
public abstract MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcasterNotificationBroadcaster.getNotificationInfo()public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener in interface NotificationBroadcasterListenerNotFoundExceptionNotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)public void removeNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack) throws ListenerNotFoundException
Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.