Package org.jboss.aop.microcontainer.beans.beanmetadatafactory

Examples of org.jboss.aop.microcontainer.beans.beanmetadatafactory.ArrayBindBeanMetaDataFactory


/*      */   {
/* 1253 */     public static final ArrayBindContentInterceptor INTERCEPTOR = new ArrayBindContentInterceptor();
/*      */
/*      */     public void add(Object parent, Object child, QName name)
/*      */     {
/* 1258 */       ArrayBindBeanMetaDataFactory factory = (ArrayBindBeanMetaDataFactory)parent;
/* 1259 */       BaseInterceptorData interceptorData = (BaseInterceptorData)child;
/* 1260 */       factory.addInterceptor(interceptorData);
/*      */     }
View Full Code Here


/*  690 */       super();
/*      */     }
/*      */
/*      */     public Object startElement(Object parent, QName name, ElementBinding element)
/*      */     {
/*  695 */       return new ArrayBindBeanMetaDataFactory();
/*      */     }
View Full Code Here

/*      */
/*      */     public void attributes(Object o, QName elementName, ElementBinding element, Attributes attrs, NamespaceContext nsCtx)
/*      */     {
/*  701 */       super.attributes(o, elementName, element, attrs, nsCtx);
/*      */
/*  703 */       ArrayBindBeanMetaDataFactory factory = (ArrayBindBeanMetaDataFactory)o;
/*  704 */       for (int i = 0; i < attrs.getLength(); i++)
/*      */       {
/*  706 */         String localName = attrs.getLocalName(i);
/*  707 */         if ("type".equals(localName))
/*      */         {
/*  709 */           factory.setType(attrs.getValue(i));
/*      */         } else {
/*  711 */           if (!"name".equals(localName))
/*      */             continue;
/*  713 */           factory.setName(attrs.getValue(i));
/*      */         }
/*      */       }
/*      */     }
View Full Code Here

   private static class ArrayBindBeanFactoryHandler extends AspectManagerAwareBeanFactoryHandler
   {
      @Override
      public Object startElement(Object parent, QName name, ElementBinding element)
      {
         return new ArrayBindBeanMetaDataFactory();
      }
View Full Code Here

      @Override
      public void attributes(Object o, QName elementName, ElementBinding element, Attributes attrs, NamespaceContext nsCtx)
      {
         super.attributes(o, elementName, element, attrs, nsCtx);

         ArrayBindBeanMetaDataFactory factory = (ArrayBindBeanMetaDataFactory) o;
         for (int i = 0; i < attrs.getLength(); ++i)
         {
            String localName = attrs.getLocalName(i);
            if ("type".equals(localName))
            {
               factory.setType(attrs.getValue(i));
            }
            else if ("name".equals(localName))
            {
               factory.setName(attrs.getValue(i));
            }
         }
      }
View Full Code Here

      public static final ArrayBindContentInterceptor INTERCEPTOR = new ArrayBindContentInterceptor();
     
      @Override
      public void add (Object parent, Object child, QName name)
      {
         ArrayBindBeanMetaDataFactory factory = (ArrayBindBeanMetaDataFactory) parent;
         BaseInterceptorData interceptorData = (BaseInterceptorData)child;
         factory.addInterceptor(interceptorData);
      }
View Full Code Here

      public static final ArrayBindContentInterceptor INTERCEPTOR = new ArrayBindContentInterceptor();
     
      @Override
      public void add (Object parent, Object child, QName name)
      {
         ArrayBindBeanMetaDataFactory factory = (ArrayBindBeanMetaDataFactory) parent;
         BaseInterceptorData interceptorData = (BaseInterceptorData)child;
         factory.addInterceptor(interceptorData);
      }
View Full Code Here

   private static class ArrayBindBeanFactoryHandler extends AspectManagerAwareBeanFactoryHandler
   {
      @Override
      public Object startElement(Object parent, QName name, ElementBinding element)
      {
         return new ArrayBindBeanMetaDataFactory();
      }
View Full Code Here

      @Override
      public void attributes(Object o, QName elementName, ElementBinding element, Attributes attrs, NamespaceContext nsCtx)
      {
         super.attributes(o, elementName, element, attrs, nsCtx);

         ArrayBindBeanMetaDataFactory factory = (ArrayBindBeanMetaDataFactory) o;
         for (int i = 0; i < attrs.getLength(); ++i)
         {
            String localName = attrs.getLocalName(i);
            if ("type".equals(localName))
            {
               factory.setType(attrs.getValue(i));
            }
            else if ("name".equals(localName))
            {
               factory.setName(attrs.getValue(i));
            }
         }
      }
View Full Code Here

TOP

Related Classes of org.jboss.aop.microcontainer.beans.beanmetadatafactory.ArrayBindBeanMetaDataFactory

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.