Package org.jboss.beans.metadata.spi.builder

Examples of org.jboss.beans.metadata.spi.builder.BeanMetaDataBuilder.createList()


      BeanMetaDataBuilder cflowStackBuilder = AOPBeanMetaDataBuilder.createBuilder(getName(), CFlowStack.class.getName());
      cflowStackBuilder.addPropertyMetaData("name", getName());
      setAspectManagerProperty(cflowStackBuilder);
      result.add(cflowStackBuilder.getBeanMetaData());
     
      List<ValueMetaData> entryList = cflowStackBuilder.createList(null, ArrayList.class.getName());
      cflowStackBuilder.addPropertyMetaData("entries", entryList);
      int i = 0;
      if (calledEntries != null)
      {
         for (CFlowEntry entry : calledEntries)
View Full Code Here


      BeanMetaDataBuilder precedenceBuilder = AOPBeanMetaDataBuilder.createBuilder(name, PrecedenceDef.class.getName());
      precedenceBuilder.addPropertyMetaData("name", getName());
      setAspectManagerProperty(precedenceBuilder);
      result.add(precedenceBuilder.getBeanMetaData());
     
      List<ValueMetaData> entryList = precedenceBuilder.createList(ArrayList.class.getName(), null);
      precedenceBuilder.addPropertyMetaData("entries", entryList);
      int i = 0;
      for (BaseInterceptorData entry : entries)
      {
         String entryName = name + "$" + i++;
View Full Code Here

      setAspectManagerProperty(bindingBuilder);
      result.add(bindingBuilder.getBeanMetaData());
     
      if (interceptors.size() > 0)
      {
         List<ValueMetaData> bindingInterceptors = bindingBuilder.createList();
         int i = 0;
         for (BaseInterceptorData interceptor : interceptors)
         {
            String intName = name + "$" + i++;
            BeanMetaDataBuilder interceptorBuilder = AOPBeanMetaDataBuilder.createBuilder(intName, interceptor.getBeanClassName());
View Full Code Here

      result.add(bindingBuilder.getBeanMetaData());
     
     
      if (interceptors.size() > 0)
      {
         List<ValueMetaData> bindingInterceptors = bindingBuilder.createList();
         int i = 0;
         for (BaseInterceptorData interceptor : interceptors)
         {
            String intName = name + "$" + i++;
            BeanMetaDataBuilder interceptorBuilder = AOPBeanMetaDataBuilder.createBuilder(intName, interceptor.getBeanClassName());
View Full Code Here

      setAspectManagerProperty(stackBuilder);
      result.add(stackBuilder.getBeanMetaData());
     
      if (interceptors.size() > 0)
      {
         List<ValueMetaData> advices = stackBuilder.createList();
         int i = 0;
         for (BaseInterceptorData interceptor : interceptors)
         {
            String intName = name + "$" + i++;
            BeanMetaDataBuilder interceptorBuilder = AOPBeanMetaDataBuilder.createBuilder(intName, interceptor.getBeanClassName());
View Full Code Here

      List<ValueMetaData> array = builder.createArray();
      array.add(builder.createValue(new Integer(5)));
      array.add(builder.createValue(new Integer(10)));
      builder.addPropertyMetaData("array", array);

      List<ValueMetaData> list = builder.createList();
      list.add(builder.createValue("One"));
      list.add(builder.createValue("Two"));
      builder.addPropertyMetaData("list", list);

      Set<ValueMetaData> set = builder.createSet();
View Full Code Here

      if (this.loginModules != null)
      {
         // if there are modules, create their metadata and inject them into the stack metadata.
         int moduleIndex = 0;
         List<ValueMetaData> modulesMetaData = builder.createList();
         for (BaseModuleMetaData moduleMetaData : this.loginModules)
         {
            String loginModuleName = stackName + "$Module" + moduleIndex++;
            // create the module metadata.
            result.add(moduleMetaData.getBean(loginModuleName));
View Full Code Here

      if (this.modules != null)
      {
         // if there are modules defined, add their metadata to the result.
         int moduleIndex = 0;
         List<ValueMetaData> modulesMetaData = builder.createList();
         for (BaseModuleMetaData moduleMetaData : this.modules)
         {
            String moduleName = policyName + "$Module" + moduleIndex++;
            result.add(moduleMetaData.getBean(moduleName));
            // inject the module into the collection of modules metadata.
View Full Code Here

      BeanMetaDataBuilder cflowStackBuilder = BeanMetaDataBuilder.createBuilder(getName(), CFlowStack.class.getName());
      cflowStackBuilder.addPropertyMetaData("name", getName());
      setAspectManagerProperty(cflowStackBuilder);
      result.add(cflowStackBuilder.getBeanMetaData());
     
      List<ValueMetaData> entryList = cflowStackBuilder.createList(null, ArrayList.class.getName());
      cflowStackBuilder.addPropertyMetaData("entries", entryList);
      int i = 0;
      if (calledEntries != null)
      {
         for (CFlowEntry entry : calledEntries)
View Full Code Here

      BeanMetaDataBuilder precedenceBuilder = BeanMetaDataBuilder.createBuilder(name, PrecedenceDef.class.getName());
      precedenceBuilder.addPropertyMetaData("name", getName());
      setAspectManagerProperty(precedenceBuilder);
      result.add(precedenceBuilder.getBeanMetaData());
     
      List<ValueMetaData> entryList = precedenceBuilder.createList(ArrayList.class.getName(), null);
      precedenceBuilder.addPropertyMetaData("entries", entryList);
      int i = 0;
      for (BaseInterceptorData entry : entries)
      {
         String entryName = name + "$" + i++;
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.