Examples of AroundInvokesMetaData


Examples of org.jboss.metadata.ejb.spec.AroundInvokesMetaData

        for (InterceptorMetaData interceptor : metaData.getInterceptors()) {
            String interceptorClassName = interceptor.getInterceptorClass();
            // get (or create the interceptor description)
            EEModuleClassDescription interceptorModuleClassDescription = applicationClassesDescription.getOrAddClassByName(interceptorClassName);
            // around-invoke(s) of the interceptor configured (if any) in the deployment descriptor
            AroundInvokesMetaData aroundInvokes = interceptor.getAroundInvokes();
            if (aroundInvokes != null) {
                for (AroundInvokeMetaData aroundInvoke : aroundInvokes) {
                    String methodName = aroundInvoke.getMethodName();
                    MethodIdentifier methodIdentifier = MethodIdentifier.getIdentifier(Object.class, methodName, new Class<?>[]{InvocationContext.class});
                    interceptorModuleClassDescription.setAroundInvokeMethod(methodIdentifier);
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.AroundInvokesMetaData

/*    */   {
/* 67 */     AroundInvokeMetaData metaData = create(method);
/* 68 */     if (metaData == null) {
/* 69 */       return;
/*    */     }
/* 71 */     AroundInvokesMetaData invokes = bean.getAroundInvokes();
/* 72 */     if (invokes == null)
/*    */     {
/* 74 */       invokes = new AroundInvokesMetaData();
/* 75 */       bean.setAroundInvokes(invokes);
/*    */     }
/* 77 */     invokes.add(metaData);
/*    */   }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.AroundInvokesMetaData

        for (InterceptorMetaData interceptor : metaData.getInterceptors()) {
            String interceptorClassName = interceptor.getInterceptorClass();
            // get (or create the interceptor description)
            EEModuleClassDescription interceptorModuleClassDescription = eeModuleDescription.getOrAddClassByName(interceptorClassName);
            // around-invoke(s) of the interceptor configured (if any) in the deployment descriptor
            AroundInvokesMetaData aroundInvokes = interceptor.getAroundInvokes();
            if (aroundInvokes != null) {
                for (AroundInvokeMetaData aroundInvoke : aroundInvokes) {
                    String methodName = aroundInvoke.getMethodName();
                    MethodIdentifier methodIdentifier = MethodIdentifier.getIdentifier(Object.class, methodName, new Class<?>[]{InvocationContext.class});
                    interceptorModuleClassDescription.setAroundInvokeMethod(methodIdentifier);
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.AroundInvokesMetaData

      return false;     
   }

   private void initialiseAroundInvoke(Map<String, List<Method>> methodMap)
   {
      AroundInvokesMetaData aroundInvokes = null;
//    if(beanMetaData instanceof JBossGenericBeanMetaData)
//       aroundInvokes = ((JBossGenericBeanMetaData) beanMetaData).getAroundInvokes();
      if(beanMetaData instanceof JBossMessageDrivenBeanMetaData)
         aroundInvokes = ((JBossMessageDrivenBeanMetaData) beanMetaData).getAroundInvokes();
      else if(beanMetaData instanceof JBossSessionBeanMetaData)
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.AroundInvokesMetaData

      }
   }
  
   private void initialiseAroundInvoke(List<DeclaredMethodSignature> methods)
   {
      AroundInvokesMetaData aroundInvokes = null;
//    if(beanMetaData instanceof JBossGenericBeanMetaData)
//       aroundInvokes = ((JBossGenericBeanMetaData) beanMetaData).getAroundInvokes();
      if(beanMetaData instanceof JBossMessageDrivenBeanMetaData)
         aroundInvokes = ((JBossMessageDrivenBeanMetaData) beanMetaData).getAroundInvokes();
      else if(beanMetaData instanceof JBossSessionBeanMetaData)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.