Package javax.ejb

Examples of javax.ejb.PrePassivate


/* 52 */     super(finder);
/*    */   }
/*    */
/*    */   public void process(SessionBeanMetaData metaData, Method element)
/*    */   {
/* 57 */     PrePassivate annotation = (PrePassivate)this.finder.getAnnotation(element, PrePassivate.class);
/* 58 */     if (annotation == null) {
/* 59 */       return;
/*    */     }
/* 61 */     LifecycleCallbackMetaData callback = super.create(element);
/* 62 */     LifecycleCallbacksMetaData preDestroys = metaData.getPrePassivates();
View Full Code Here


/*  749 */       return resolveLifecycleMethod(method, ann);
/*      */     }
/*      */
/*      */     Method resolvePrePassivate(Method method)
/*      */     {
/*  754 */       PrePassivate ann = (PrePassivate)getAnnotation(method, PrePassivate.class);
/*  755 */       return resolveLifecycleMethod(method, ann);
/*      */     }
View Full Code Here

               {
                  postActivates = new HashMap<String, PostActivate>();
               }
               postActivates.put(methodName, postActivate);
            }
            PrePassivate prePassivate = getLifeCycleAnnotation(((JBossSessionBeanMetaData) beanMetaData).getPrePassivates(), PrePassivateImpl.class, methodName);
            if(prePassivate != null)
            {
               if (prePassivates == null)
               {
                  prePassivates = new HashMap<String, PrePassivate>();
View Full Code Here

         if(lifeCycleAnnotation != null)
            return annotationClass.cast(lifeCycleAnnotation);
      }
      else if(annotationClass == PrePassivate.class)
      {
         PrePassivate lifeCycleAnnotation = getLifeCycleAnnotation(interceptorMetaData.getPrePassivates(), PrePassivateImpl.class, methodName);
         if(lifeCycleAnnotation != null)
            return annotationClass.cast(lifeCycleAnnotation);
      }
      return super.retrieveAnnotation(annotationClass, interceptorMetaData, classLoader, methodName, parameterNames);
   }
View Full Code Here

         if(lifeCycleAnnotation != null)
            return annotationClass.cast(lifeCycleAnnotation);
      }
      else if(annotationClass == PrePassivate.class)
      {
         PrePassivate lifeCycleAnnotation = getLifeCycleAnnotation(interceptorMetaData.getPrePassivates(), PrePassivateImpl.class, method);
         if(lifeCycleAnnotation != null)
            return annotationClass.cast(lifeCycleAnnotation);
      }
      return super.retrieveAnnotation(annotationClass, interceptorMetaData, classLoader, method);
   }
View Full Code Here

               {
                  postActivates = new HashMap<DeclaredMethodSignature, PostActivate>();
               }
               postActivates.put(method, postActivate);
            }
            PrePassivate prePassivate = getLifeCycleAnnotation(((JBossSessionBeanMetaData) beanMetaData).getPrePassivates(), PrePassivateImpl.class, method);
            if(prePassivate != null)
            {
               if (prePassivates == null)
               {
                  prePassivates = new HashMap<DeclaredMethodSignature, PrePassivate>();
View Full Code Here

TOP

Related Classes of javax.ejb.PrePassivate

Copyright © 2018 www.massapicom. 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.