Package org.jboss.metadata.javaee.spec

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


/*     */     }
/*     */   }
/*     */
/*     */   protected boolean isIgnoreDependency(InjectionContainer container, EJB ref)
/*     */   {
/* 333 */     RemoteEnvironment refGroup = container.getEnvironmentRefGroup();
/*     */
/* 335 */     if (refGroup != null)
/*     */     {
/* 337 */       if (refGroup.getEjbReferences() != null) {
/* 338 */         for (EJBReferenceMetaData ejbRef : refGroup.getEjbReferences())
/*     */         {
/* 340 */           if (ejbRef.getEjbRefName().equals(ref.name()))
/*     */           {
/* 342 */             return ejbRef.getIgnoreDependency() != null;
/*     */           }
View Full Code Here


      }
   }

   protected boolean isIgnoreDependency(InjectionContainer container, EJB ref)
   {
      RemoteEnvironment refGroup =  container.getEnvironmentRefGroup();
     
      if (refGroup != null)
      {
         if(refGroup.getEjbReferences() != null)
         for(EJBReferenceMetaData ejbRef : refGroup.getEjbReferences())
         {
            if (ejbRef.getEjbRefName().equals(ref.name()))
            {
               return ejbRef.getIgnoreDependency() != null;
            }
View Full Code Here

      throw new IllegalStateException("handleFieldAnnotations cannot be used in a client");
   }

   protected boolean isIgnoreDependency(InjectionContainer container, EJB ref)
   {
      RemoteEnvironment refGroup =  container.getEnvironmentRefGroup();
     
      if (refGroup != null)
      {
         if(refGroup.getEjbReferences() != null)
         for(EJBReferenceMetaData ejbRef : refGroup.getEjbReferences())
         {
            if (ejbRef.getEjbRefName().equals(ref.name()))
            {
               return ejbRef.getIgnoreDependency() != null;
            }
View Full Code Here

     * @param deploymentReflectionIndex The reflection index
     * @param applicationClasses
     * @return The bindings for the environment entries
     */
    protected List<BindingConfiguration> processDescriptorEntries(DeploymentUnit deploymentUnit, DeploymentDescriptorEnvironment environment, EEModuleDescription moduleDescription, ComponentDescription componentDescription, ClassLoader classLoader, DeploymentReflectionIndex deploymentReflectionIndex, final EEApplicationClasses applicationClasses) throws DeploymentUnitProcessingException {
        final RemoteEnvironment remoteEnvironment = environment.getEnvironment();
        final DeploymentClassIndex index = deploymentUnit.getAttachment(org.jboss.as.server.deployment.Attachments.CLASS_INDEX);
        List<BindingConfiguration> bindingDescriptions = new ArrayList<BindingConfiguration>();

        EJBReferencesMetaData ejbRefs = remoteEnvironment.getEjbReferences();
        if (ejbRefs != null) {
            for (EJBReferenceMetaData ejbRef : ejbRefs) {
                String name = ejbRef.getEjbRefName();
                String ejbName = ejbRef.getLink();
                String lookup = ejbRef.getLookupName();
View Full Code Here

TOP

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

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.