Package org.jboss.metadata.javaee.spec

Examples of org.jboss.metadata.javaee.spec.ResourceAuthorityType


      String name = annotation.name();
      if(name.length() == 0)
         name = getName(element);
      ref.setResourceRefName(name);
      AuthenticationType authType = annotation.authenticationType();
      ResourceAuthorityType resAuthType = ResourceAuthorityType.Container;
      if(authType == AuthenticationType.APPLICATION)
         resAuthType = ResourceAuthorityType.Application;
      ref.setResAuth(resAuthType);
      if(annotation.mappedName().length() > 0)
         ref.setMappedName(annotation.mappedName());
View Full Code Here


      String name = annotation.name();
      if(name.length() == 0)
         name = getName(element);
      ref.setResourceRefName(name);
      AuthenticationType authType = annotation.authenticationType();
      ResourceAuthorityType resAuthType = ResourceAuthorityType.Container;
      if(authType == AuthenticationType.APPLICATION)
         resAuthType = ResourceAuthorityType.Application;
      ref.setResAuth(resAuthType);
      if(annotation.mappedName().length() > 0)
         ref.setMappedName(annotation.mappedName());
View Full Code Here

      String name = annotation.name();
      if(name.length() == 0)
         name = getName(element);
      ref.setResourceRefName(name);
      AuthenticationType authType = annotation.authenticationType();
      ResourceAuthorityType resAuthType = ResourceAuthorityType.Container;
      if(authType == AuthenticationType.APPLICATION)
         resAuthType = ResourceAuthorityType.Application;
      ref.setResAuth(resAuthType);
      if(annotation.mappedName().length() > 0)
         ref.setMappedName(annotation.mappedName());
View Full Code Here

            ref.setIgnoreDependency(ref.isIgnoreDependency());
            ref.setResType(rref.getType());
            ref.setJndiName(rref.getJndiName());
            ref.setMappedName(rref.getMappedName());
            ref.setResUrl(rref.getResUrl());
            ResourceAuthorityType authType = rref.getResAuth();
            if(authType != null)
               ref.setResAuth(authType.name());
            ref.setInjectionTarget(getInjectionTarget(rref.getInjectionTargets()));
            resourceRefs.put(ref.getResRefName(), ref);
         }
         log.info("Converted "+resourceRefs.size()+" resRefs: "+resourceRefs.keySet());
         convertedResourceRefs = true;
View Full Code Here

/* 253 */     String name = annotation.name();
/* 254 */     if (name.length() == 0)
/* 255 */       name = getName(element);
/* 256 */     ref.setResourceRefName(name);
/* 257 */     Resource.AuthenticationType authType = annotation.authenticationType();
/* 258 */     ResourceAuthorityType resAuthType = ResourceAuthorityType.Container;
/* 259 */     if (authType == Resource.AuthenticationType.APPLICATION)
/* 260 */       resAuthType = ResourceAuthorityType.Application;
/* 261 */     ref.setResAuth(resAuthType);
/* 262 */     if (annotation.mappedName().length() > 0)
/* 263 */       ref.setMappedName(annotation.mappedName());
View Full Code Here

/* 239 */           ref.setIgnoreDependency(ref.isIgnoreDependency());
/* 240 */           ref.setResType(rref.getType());
/* 241 */           ref.setJndiName(rref.getJndiName());
/* 242 */           ref.setMappedName(rref.getMappedName());
/* 243 */           ref.setResUrl(rref.getResUrl());
/* 244 */           ResourceAuthorityType authType = rref.getResAuth();
/* 245 */           if (authType != null)
/* 246 */             ref.setResAuth(authType.name());
/* 247 */           ref.setInjectionTarget(getInjectionTarget(rref.getInjectionTargets()));
/* 248 */           this.resourceRefs.put(ref.getResRefName(), ref);
/*     */         }
/* 250 */       log.info("Converted " + this.resourceRefs.size() + " resRefs: " + this.resourceRefs.keySet());
/* 251 */       this.convertedResourceRefs = true;
View Full Code Here

TOP

Related Classes of org.jboss.metadata.javaee.spec.ResourceAuthorityType

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.