Package org.jboss.metadata.javaee.spec

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


      if(env == null)
         return;

      AnnotatedEJBReferencesMetaData annotatedRefs = env.getAnnotatedEjbReferences();
      resolveEjbAnnotatedRefs(cdmd, unit, endpointMap, annotatedRefs, resolver, unresolvedRefs);
      EJBLocalReferencesMetaData localRefs = env.getEjbLocalReferences();
      resolveEjbLocalRefs(cdmd, unit, endpointMap, localRefs, resolver, unresolvedRefs);
      EJBReferencesMetaData ejbRefs = env.getEjbReferences();
      resolveEjbRefs(cdmd, unit, endpointMap, ejbRefs, resolver, unresolvedRefs);
      MessageDestinationReferencesMetaData msgRefs = env.getMessageDestinationReferences();
      resolveMsgRefs(cdmd, unit, endpointMap, msgRefs, resolver, unresolvedRefs);
View Full Code Here


            tmp.append("| resolvedJndiName=");
            tmp.append(ref.getResolvedJndiName());
            tmp.append('\n');
         }
      }
      EJBLocalReferencesMetaData localRefs = env.getEjbLocalReferences();
      if(localRefs != null)
      {
         for(EJBLocalReferenceMetaData ref : localRefs)
         {
            for(int n = 0; n < depth+1; n ++)
View Full Code Here

   protected void resolve(DeploymentUnit unit, Environment env, List<String> unresolvedRefs)
   {
      if(env == null)
         return;
     
      EJBLocalReferencesMetaData localRefs = env.getEjbLocalReferences();
      resolveEjbLocalRefs(unit, localRefs, unresolvedRefs);
      AnnotatedEJBReferencesMetaData annotatedRefs = env.getAnnotatedEjbReferences();
      resolveAnnotatedRefs(unit, annotatedRefs, unresolvedRefs);
      EJBReferencesMetaData ejbRefs = env.getEjbReferences();
      resolveEjbRefs(unit, ejbRefs, unresolvedRefs);
View Full Code Here

      MessageDestinationReferencesMetaData msgRefs = metaData.getMessageDestinationReferences();
      linkMessageDestinationRefs(unit, msgRefs, envCtx);
      EJBReferencesMetaData ejbRefs = metaData.getEjbReferences();
      log.debug("linkEjbRefs");
      linkEjbRefs(unit, ejbRefs, envCtx);
      EJBLocalReferencesMetaData ejbLocalRefs = metaData.getEjbLocalReferences();
      log.debug("linkEjbLocalRefs");
      linkEjbLocalRefs(unit, ejbLocalRefs, envCtx);
      log.debug("linkServiceRefs");
      ServiceReferencesMetaData serviceRefs = metaData.getServiceReferences();
      linkServiceRefs(unit, serviceRefs, envCtx);
View Full Code Here

   }

   @XmlTransient
   public EJBLocalReferencesMetaData getEjbLocalReferences()
   {
      EJBLocalReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getEjbLocalReferences();
      return refs;
   }
View Full Code Here

    *
    * @return the local references
    */
   public Iterator<EjbLocalRefMetaData> getEjbLocalReferences()
   {
      EJBLocalReferencesMetaData ejbLocalRefs = getDelegate().getEjbLocalReferences();
      return new OldMetaDataIterator<EJBLocalReferenceMetaData, EjbLocalRefMetaData>(ejbLocalRefs, EJBLocalReferenceMetaData.class, EjbLocalRefMetaData.class);
   }
View Full Code Here

   }

   @XmlTransient
   public EJBLocalReferencesMetaData getEjbLocalReferences()
   {
      EJBLocalReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getEjbLocalReferences();
      return refs;
   }
View Full Code Here

      if (jbossEnv == null && specEnv == null)
         return;

      super.merge(jbossEnv, specEnv, overridenFile, overrideFile, mustOverride);

      EJBLocalReferencesMetaData ejbLocalRefs = null;
      EJBLocalReferencesMetaData jbossEjbLocalRefs = null;
      PersistenceContextReferencesMetaData specPersistenceContextRefs = null;
      PersistenceContextReferencesMetaData jbossPersistenceContextRefs = null;

      if (specEnv != null)
      {
         ejbLocalRefs = specEnv.getEjbLocalReferences();
         specPersistenceContextRefs = specEnv.getPersistenceContextRefs();
      }
     
      if (jbossEnv != null)
      {
         jbossEjbLocalRefs = jbossEnv.getEjbLocalReferences();
         jbossPersistenceContextRefs = jbossEnv.getPersistenceContextRefs();
      }
      else
      {
         // Use the merge target for the static merge methods
         jbossEjbLocalRefs = this.getEjbLocalReferences();
         jbossPersistenceContextRefs = getPersistenceContextRefs();
      }

      EJBLocalReferencesMetaData mergedEjbLocalRefs = EJBLocalReferencesMetaData.merge(jbossEjbLocalRefs, ejbLocalRefs, overridenFile, overrideFile);
      if (mergedEjbLocalRefs != null)
         this.setEjbLocalReferences(mergedEjbLocalRefs);
     
      // Need to set the jndi name from resource mgr if referenced
      ResourceReferencesMetaData jbossResRefs = getResourceReferences();
View Full Code Here

   }

   @XmlTransient
   public EJBLocalReferencesMetaData getEjbLocalReferences()
   {
      EJBLocalReferencesMetaData refs = null;
      if(jndiEnvironmentRefsGroup != null)
         refs = jndiEnvironmentRefsGroup.getEjbLocalReferences();
      return refs;
   }
View Full Code Here

                bindingDescriptions.add(bindingConfiguration);
            }
        }

        if (remoteEnvironment instanceof Environment && !appclient) {
            EJBLocalReferencesMetaData ejbLocalRefs = ((Environment) remoteEnvironment).getEjbLocalReferences();
            if (ejbLocalRefs != null) {
                for (EJBLocalReferenceMetaData ejbRef : ejbLocalRefs) {
                    String name = ejbRef.getEjbRefName();
                    String ejbName = ejbRef.getLink();
                    String lookup = ejbRef.getLookupName() != null ? ejbRef.getLookupName() : ejbRef.getMappedName();
View Full Code Here

TOP

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

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.