Examples of Descriptions


Examples of org.jboss.annotation.javaee.Descriptions

      if(authType == AuthenticationType.APPLICATION)
         resAuthType = ResourceAuthorityType.Application;
      ref.setResAuth(resAuthType);
      if(annotation.mappedName().length() > 0)
         ref.setMappedName(annotation.mappedName());
      Descriptions descriptions = ProcessorUtils.getDescription(annotation.description());
      if(descriptions != null)
      {
         ref.setDescriptions(descriptions);
      }
      if(annotation.type() != Object.class)
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

      EnvironmentEntryMetaData entry = new EnvironmentEntryMetaData();
      String name = annotation.name();
      if(name.length() == 0)
         name = getName(element);
      entry.setEnvEntryName(name);
      Descriptions descriptions = ProcessorUtils.getDescription(annotation.description());
      if(descriptions != null)
         entry.setDescriptions(descriptions);
      if(annotation.type() != Object.class)
         entry.setType(annotation.type().getName());
      else
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

         ref.setMappedName(annotation.mappedName());
      if(annotation.type() != Object.class)
         ref.setType(annotation.type().getName());
      else
         ref.setType(getType(element));
      Descriptions descriptions = ProcessorUtils.getDescription(annotation.description());
      if(descriptions != null)
         ref.setDescriptions(descriptions);
      String injectionName = getInjectionName(element);
      Set<ResourceInjectionTargetMetaData> injectionTargets = ProcessorUtils.getInjectionTargets(injectionName, element);
      if(injectionTargets != null)
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

         ref.setMappedName(annotation.mappedName());
      if(annotation.type() != Object.class)
         ref.setType(annotation.type().getName());
      else
         ref.setType(getType(element));
      Descriptions descriptions = ProcessorUtils.getDescription(annotation.description());
      if(descriptions != null)
         ref.setDescriptions(descriptions);

      String injectionName = getInjectionName(element);
      Set<ResourceInjectionTargetMetaData> injectionTargets = ProcessorUtils.getInjectionTargets(injectionName, element);
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

      if(runAs == null)
         return null;

      RunAsMetaData metaData = new RunAsMetaData();
      metaData.setRoleName(runAs.value());
      Descriptions descriptions = ProcessorUtils.getDescription("RunAs("+runAs.value()+") on class: "+element.getName());
      metaData.setDescriptions(descriptions);
      return metaData;
   }
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

      for(String role : roles.value())
      {
         SecurityRoleMetaData sr = new SecurityRoleMetaData();
         sr.setRoleName(role);
         Descriptions descriptions = ProcessorUtils.getDescription("DeclareRoles("+roles.value()+") on class: "+element.getName());
         sr.setDescriptions(descriptions);
         metaData.add(sr);
      }
   }
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

      if(authType == AuthenticationType.APPLICATION)
         resAuthType = ResourceAuthorityType.Application;
      ref.setResAuth(resAuthType);
      if(annotation.mappedName().length() > 0)
         ref.setMappedName(annotation.mappedName());
      Descriptions descriptions = ProcessorUtils.getDescription(annotation.description());
      if(descriptions != null)
      {
         ref.setDescriptions(descriptions);
      }
      if(annotation.type() != Object.class)
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

      EnvironmentEntryMetaData entry = new EnvironmentEntryMetaData();
      String name = annotation.name();
      if(name.length() == 0)
         name = getName(element);
      entry.setEnvEntryName(name);
      Descriptions descriptions = ProcessorUtils.getDescription(annotation.description());
      if(descriptions != null)
         entry.setDescriptions(descriptions);
      if(annotation.type() != Object.class)
         entry.setType(annotation.type().getName());
      else
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

         ref.setMappedName(annotation.mappedName());
      if(annotation.type() != Object.class)
         ref.setType(annotation.type().getName());
      else
         ref.setType(getType(element));
      Descriptions descriptions = ProcessorUtils.getDescription(annotation.description());
      if(descriptions != null)
         ref.setDescriptions(descriptions);
      String injectionName = getInjectionName(element);
      Set<ResourceInjectionTargetMetaData> injectionTargets = ProcessorUtils.getInjectionTargets(injectionName, element);
      if(injectionTargets != null)
View Full Code Here

Examples of org.jboss.annotation.javaee.Descriptions

      {
         classes.add(c.getName());
      }
      interceptor.setInterceptorClasses(classes);

      Descriptions descriptions = ProcessorUtils.getDescription("@Interceptors for: "+type);
      interceptor.setDescriptions(descriptions);
      metaData.add(interceptor);
   }
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.