{
addInterceptor( new Interceptor( new TransactionInterceptor(), this ) );
}
if ( getScope()==CONVERSATION )
{
addInterceptor( new Interceptor( new ManagedEntityIdentityInterceptor(), this ) );
}
if ( beanClassHasAnnotation(Restrict.class) )
{
addInterceptor( new Interceptor( new SecurityInterceptor(), this ) );
}