addInput("merged." + JBossMetaData.class.getName());
setStage(DeploymentStages.POST_CLASSLOADER);
//create and process metadata for JSR299 interceptors
InterceptorsMetaData interceptorsMetaData = interceptorMetaDataCreator.create(Arrays.<Class<?>>asList(INJECTION_INTERCEPTOR_CLASS, CONTEXT_INTERCEPTOR_CLASS, BINDINGS_INTERCEPTOR_CLASS));
// create interceptor metadata instance for session beans
injectionIMD = interceptorsMetaData.get(INJECTION_INTERCEPTOR_CLASS_NAME);
contextIMD = interceptorsMetaData.get(CONTEXT_INTERCEPTOR_CLASS_NAME);
if (contextIMD.getAroundInvokes() == null)
{
contextIMD.setAroundInvokes(new AroundInvokesMetaData());
}
AroundInvokeMetaData aroundInvokeMetaData = new AroundInvokeMetaData();
aroundInvokeMetaData.setClassName(CONTEXT_INTERCEPTOR_CLASS_NAME);
aroundInvokeMetaData.setMethodName("aroundInvoke");
contextIMD.getAroundInvokes().add(aroundInvokeMetaData);
// create interceptor metadata instance for JSR-299 specific bindings
bindingsIMD = interceptorsMetaData.get(BINDINGS_INTERCEPTOR_CLASS_NAME);
// create interceptor binding metadata instance
injectionIBMD = createInterceptorBindingMetadata(INJECTION_INTERCEPTOR_CLASS_NAME);
contextIBMD = createInterceptorBindingMetadata(CONTEXT_INTERCEPTOR_CLASS_NAME);