Top Description Fields Constructors Methods
net.sf.ehcache.hibernate.management.impl

public abstract Class EhcacheHibernateMbeanNames

extends Object
Class Inheritance
Imports
javax.management.MalformedObjectNameException, .ObjectName

Utility class used for getting ObjectName's for ehcache hibernate MBeans

Author
Abhishek Sanoujam
Since
1.7

Field Summary

Modifier and TypeField and Description
public static final String
EHCACHE_HIBERNATE_TYPE

Type for the ehcache backed hibernate second level cache statistics mbean

public static final String
GROUP_ID

Group id for all sampled mbeans registered

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static String
getBeanNameSuffix(String cacheManagerClusterUUID)

public static ObjectName

Returns:

An ObjectName using the input name of cache manager
getCacheManagerObjectName
(String cacheManagerClusterUUID, String name)

Returns an ObjectName for the passed name

private static boolean
isBlank(String param)

public static String

Returns:

A valid JMX ObjectName attribute value.
mbeanSafe
(String s)

Filter out invalid ObjectName characters from s.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EHCACHE_HIBERNATE_TYPEback to summary
public static final String EHCACHE_HIBERNATE_TYPE

Type for the ehcache backed hibernate second level cache statistics mbean

GROUP_IDback to summary
public static final String GROUP_ID

Group id for all sampled mbeans registered

Constructor Detail

EhcacheHibernateMbeanNamesback to summary
public EhcacheHibernateMbeanNames()

Method Detail

getBeanNameSuffixback to summary
private static String getBeanNameSuffix(String cacheManagerClusterUUID)
getCacheManagerObjectNameback to summary
public static ObjectName getCacheManagerObjectName(String cacheManagerClusterUUID, String name) throws MalformedObjectNameException

Returns an ObjectName for the passed name

Returns:ObjectName

An ObjectName using the input name of cache manager

isBlankback to summary
private static boolean isBlank(String param)
mbeanSafeback to summary
public static String mbeanSafe(String s)

Filter out invalid ObjectName characters from s.

Returns:String

A valid JMX ObjectName attribute value.