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