|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.StandardMBean org.hibernate.cache.ehcache.management.impl.BaseEmitterBean
public abstract class BaseEmitterBean
Field Summary | |
---|---|
protected org.hibernate.cache.ehcache.management.impl.BaseEmitterBean.Emitter |
emitter
emitter |
protected AtomicLong |
sequenceNumber
sequenceNumber |
Constructor Summary | |
---|---|
protected |
BaseEmitterBean(Class<T> mbeanInterface)
BaseEmitterBean |
Method Summary | |
---|---|
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 |
Methods inherited from class javax.management.StandardMBean |
---|
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, setImplementation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.hibernate.cache.ehcache.management.impl.BaseEmitterBean.Emitter emitter
protected final AtomicLong sequenceNumber
Constructor Detail |
---|
protected BaseEmitterBean(Class<T> mbeanInterface) throws NotCompliantMBeanException
T
- mbeanInterface
-
NotCompliantMBeanException
Method Detail |
---|
public 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)
addNotificationListener
in interface NotificationBroadcaster
NotificationBroadcaster.addNotificationListener(javax.management.NotificationListener,
javax.management.NotificationFilter, java.lang.Object)
public abstract MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
NotificationBroadcaster.getNotificationInfo()
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationBroadcaster
ListenerNotFoundException
NotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)
public void removeNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationEmitter
ListenerNotFoundException
NotificationEmitter.removeNotificationListener(javax.management.NotificationListener,
javax.management.NotificationFilter, java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |