net.sf.ehcache.hibernate.management.impl
Class BeanUtils
java.lang.Object
net.sf.ehcache.hibernate.management.impl.BeanUtils
public class BeanUtils
- extends Object
Reflective utilities for dealing with backward-incompatible change to statistics types in Hibernate 3.5.
- Author:
- gkeim
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanUtils
public BeanUtils()
getBeanProperty
public static Object getBeanProperty(Object bean,
String propertyName)
- Retrieve a named bean property value.
- Parameters:
bean
- beanpropertyName
-
- Returns:
- the property value
getLongBeanProperty
public static long getLongBeanProperty(Object bean,
String propertyName)
throws NoSuchFieldException
- Retrieve a Long bean property value.
- Parameters:
bean
- beanpropertyName
-
- Returns:
- long value
- Throws:
NoSuchFieldException
Copyright 2001-2016, Terracotta, Inc.