{
if (Reflections.isClassAvailable("org.hibernate.Session"))
{
addInterceptor( new Interceptor ( new HibernateSessionProxyInterceptor(), this ) );
}
addInterceptor( new Interceptor ( new EntityManagerProxyInterceptor(), this ) );
}
if ( getType()!=ENTITY_BEAN )
{
addInterceptor( new Interceptor( new MethodContextInterceptor(), this ) );
}