private static class ProviderMBeanRegistrationHelper.RegisterMBeansTask
extends java.util.TimerTask
Modifier and Type | Field and Description |
---|---|
private EhcacheHibernateMBeanRegistrationImpl |
ehcacheHibernateMBeanRegistration |
private CacheManager |
manager |
private java.util.concurrent.atomic.AtomicBoolean |
mbeanRegistered |
private static int |
NUM_SECONDS |
private java.util.Properties |
properties |
private long |
startTime |
Constructor and Description |
---|
RegisterMBeansTask(EhcacheHibernateMBeanRegistrationImpl ehcacheHibernateMBeanRegistration,
CacheManager manager,
java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
private org.hibernate.SessionFactory |
locateSessionFactory() |
void |
run() |
private static final int NUM_SECONDS
private long startTime
private final java.util.concurrent.atomic.AtomicBoolean mbeanRegistered
private final EhcacheHibernateMBeanRegistrationImpl ehcacheHibernateMBeanRegistration
private final CacheManager manager
private final java.util.Properties properties
public RegisterMBeansTask(EhcacheHibernateMBeanRegistrationImpl ehcacheHibernateMBeanRegistration, CacheManager manager, java.util.Properties properties)