Package org.jboss.ejb

Examples of org.jboss.ejb.InterceptorsImpl


    */
   private Interceptors createInterceptorsFromInterceptorBinding(Interceptors original, InterceptorBindingMetaData binding) throws ClassNotFoundException
   {
      assert binding != null : "binding is null";
     
      InterceptorsImpl impl;
      InterceptorClassesMetaData classes;
      if (binding.isTotalOrdering())
      {
         impl = new InterceptorsImpl();
         classes = binding.getInterceptorOrder();
      }
      else
      {
         impl = InterceptorsImpl.getImpl(original);
         classes = binding.getInterceptorClasses();
      }
      if (classes != null)
      {
         for (String name : classes)
         {
            Class<?> clazz = di.getClassLoader().loadClass(name);
            impl.addValue(clazz);
         }
      }
      return impl;
   }
View Full Code Here


/*      */   private Interceptors createInterceptorsFromInterceptorBinding(Interceptors original, InterceptorBindingMetaData binding)
/*      */     throws ClassNotFoundException
/*      */   {
/*  237 */     assert (binding != null) : "binding is null";
/*      */     InterceptorClassesMetaData classes;
/*      */     InterceptorsImpl impl;
/*      */     InterceptorClassesMetaData classes;
/*  241 */     if (binding.isTotalOrdering())
/*      */     {
/*  243 */       InterceptorsImpl impl = new InterceptorsImpl();
/*  244 */       classes = binding.getInterceptorOrder();
/*      */     }
/*      */     else
/*      */     {
/*  248 */       impl = InterceptorsImpl.getImpl(original);
/*  249 */       classes = binding.getInterceptorClasses();
/*      */     }
/*  251 */     if (classes != null)
/*      */     {
/*  253 */       for (String name : classes)
/*      */       {
/*  255 */         Class clazz = this.di.getClassLoader().loadClass(name);
/*  256 */         impl.addValue(clazz);
/*      */       }
/*      */     }
/*  259 */     return impl;
/*      */   }
View Full Code Here

TOP

Related Classes of org.jboss.ejb.InterceptorsImpl

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.