Package org.jboss.metadata.ejb.jboss

Examples of org.jboss.metadata.ejb.jboss.JBossEnvironmentRefsGroupMetaData


/* 380 */       setCallbackHandler(jboss.callbackHandler);
/* 381 */     else if ((spec != null) && (spec.getCallbackHandler() != null)) {
/* 382 */       setCallbackHandler(spec.getCallbackHandler());
/*     */     }
/* 384 */     if (this.jndiEnvironmentRefsGroup == null)
/* 385 */       this.jndiEnvironmentRefsGroup = new JBossEnvironmentRefsGroupMetaData();
/* 386 */     this.jndiEnvironmentRefsGroup.merge(jbossEnv, specEnv, "jboss-client.xml", "application-client.xml", false);
/*     */
/* 389 */     ResourceEnvironmentReferencesMetaData resEnvRefs = this.jndiEnvironmentRefsGroup.getResourceEnvironmentReferences();
/*     */
/* 392 */     this.messageDestinations = MessageDestinationsMetaData.merge(jbossMsgs, specMsgs, "jboss-client.xml", "application-client.xml");
View Full Code Here


/*      */   @XmlElement(type=JBossEnvironmentRefsGroupMetaData.class)
/*      */   public void setJndiEnvironmentRefsGroup(Environment env)
/*      */   {
/*  787 */     if (env == null)
/*  788 */       throw new IllegalArgumentException("Null jndiEnvironmentRefsGroup");
/*  789 */     JBossEnvironmentRefsGroupMetaData jenv = (JBossEnvironmentRefsGroupMetaData)env;
/*  790 */     if (this.jndiEnvironmentRefsGroup != null)
/*  791 */       this.jndiEnvironmentRefsGroup.merge(jenv, null, null, "jboss-web.xml", "web.xml", false);
/*      */     else
/*  793 */       this.jndiEnvironmentRefsGroup = jenv;
/*      */   }
View Full Code Here

/* 1007 */     if ((original != null) && (original.getMessageDestinations() != null))
/* 1008 */       originalMsgDests = original.getMessageDestinations();
/* 1009 */     this.messageDestinations = MessageDestinationsMetaData.merge(overrideMsgDests, originalMsgDests, overridenFile, overrideFile);
/*      */
/* 1012 */     if (this.jndiEnvironmentRefsGroup == null)
/* 1013 */       this.jndiEnvironmentRefsGroup = new JBossEnvironmentRefsGroupMetaData();
/* 1014 */     Environment env = null;
/* 1015 */     JBossEnvironmentRefsGroupMetaData jenv = null;
/* 1016 */     if (override != null)
/* 1017 */       jenv = override.jndiEnvironmentRefsGroup;
/* 1018 */     if (original != null)
/* 1019 */       env = original.getJndiEnvironmentRefsGroup();
/* 1020 */     this.jndiEnvironmentRefsGroup.merge(jenv, env, null, overrideFile, overridenFile, mustOverride);
View Full Code Here

      resEnvRef.setName("wsContext");
      resEnvRef.setType(WebServiceContext.class.getName());
      resEnvRef.setInjectionTargets(injectionTargets);
     
      if(beanMetaData.getJndiEnvironmentRefsGroup() == null)
         beanMetaData.setJndiEnvironmentRefsGroup(new JBossEnvironmentRefsGroupMetaData());
      if(beanMetaData.getResourceEnvironmentReferences() == null)
         ((JBossEnvironmentRefsGroupMetaData) beanMetaData.getJndiEnvironmentRefsGroup()).setResourceEnvironmentReferences(new ResourceEnvironmentReferencesMetaData());
      beanMetaData.getResourceEnvironmentReferences().add(resEnvRef);
      //
     
View Full Code Here

     * @throws IllegalArgumentException for a null jndiEnvironmentRefsGroup
     */
    public void setJndiEnvironmentRefsGroup(Environment env) {
        if (env == null)
            throw new IllegalArgumentException("Null jndiEnvironmentRefsGroup");
        JBossEnvironmentRefsGroupMetaData jenv = (JBossEnvironmentRefsGroupMetaData) env;
        jndiEnvironmentRefsGroup = jenv;
    }
View Full Code Here

TOP

Related Classes of org.jboss.metadata.ejb.jboss.JBossEnvironmentRefsGroupMetaData

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.