if (
( getType().isEjb() && businessInterfaceHasAnnotation(Asynchronous.class) ) ||
( getType()==JAVA_BEAN && beanClassHasAnnotation(Asynchronous.class) )
)
{
addInterceptor( new Interceptor( new AsynchronousInterceptor(), this ) );
}
if ( getType()==STATEFUL_SESSION_BEAN )
{
addInterceptor( new Interceptor( new RemoveInterceptor(), this ) );
}