* org.apache.webbeans.intercept.InterceptorData#setInterceptor(java.lang
* .reflect.Method, java.lang.Class)
*/
public void setInterceptorMethod(Method m, Class<? extends Annotation> annotation)
{
OpenWebBeansEjbLCAPlugin ejbPlugin = webBeansContext.getPluginLoader().getEjbLCAPlugin();
Class <? extends Annotation> prePassivateClass = null;
Class <? extends Annotation> postActivateClass = null;
Class <? extends Annotation> aroundTimeoutClass = null;
if (null != ejbPlugin)
{
prePassivateClass = ejbPlugin.getPrePassivateClass();
postActivateClass = ejbPlugin.getPostActivateClass();
aroundTimeoutClass = ejbPlugin.getAroundTimeoutClass();
}
if (annotation.equals(AroundInvoke.class))
{
setAroundInvoke(m);