java.lang.Object |
↳ |
EmptyInterceptor |
|
↳ |
org.springframework.orm.hibernate3.support.ScopedBeanInterceptor |
Class Overview
Hibernate3 interceptor used for getting the proper entity name for scoped
beans. As scoped bean classes are proxies generated at runtime, they are
unrecognized by the persisting framework. Using this interceptor, the
original scoped bean class is retrieved end exposed to Hibernate for
persisting.
Usage example:
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
...
<property name="entityInterceptor">
<bean class="org.springframework.orm.hibernate3.support.ScopedBeanInterceptor"/>
</property>
</bean>
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
ScopedBeanInterceptor
()
Public Methods