|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.impl.PropertyDescriptorProperty
org.directwebremoting.hibernate.H2PropertyDescriptorProperty
public class H2PropertyDescriptorProperty
A Property
that catches hiberntate exceptions.
This is useful for Hibernate 2 where lazy loading results in an exception
and you are unable to detect and prevent this.
Field Summary |
---|
Fields inherited from class org.directwebremoting.impl.PropertyDescriptorProperty |
---|
descriptor |
Constructor Summary | |
---|---|
H2PropertyDescriptorProperty(java.beans.PropertyDescriptor descriptor)
Simple constructor |
Method Summary | |
---|---|
java.lang.Object |
getValue(java.lang.Object bean)
Get the value of this property of the passed in java bean |
Methods inherited from class org.directwebremoting.impl.PropertyDescriptorProperty |
---|
getName, getPropertyType, getSetter, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public H2PropertyDescriptorProperty(java.beans.PropertyDescriptor descriptor)
descriptor
- The PropertyDescriptor that we are proxying toMethod Detail |
---|
public java.lang.Object getValue(java.lang.Object bean) throws MarshallException
Property
getValue
in interface Property
getValue
in class PropertyDescriptorProperty
bean
- The bean to introspect
MarshallException
- If the reflection access fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |