Package org.jboss.metadata.javaee.spec

Examples of org.jboss.metadata.javaee.spec.DataSourcesMetaData.addAll()


      }
      DataSourcesMetaData dataSources = new DataSourcesMetaData();
      // datasources on the EJB
      if (enterpriseBean.getDataSources() != null)
      {
         dataSources.addAll(enterpriseBean.getDataSources());
      }
      // datasources on the interceptors of the EJB
      InterceptorsMetaData interceptors = JBossMetaData.getInterceptors(enterpriseBean.getEjbName(), enterpriseBean.getJBossMetaData());
      if (interceptors != null)
      {
View Full Code Here


         {
            if (interceptor == null || interceptor.getDataSources() == null)
            {
               continue;
            }
            dataSources.addAll(interceptor.getDataSources());
         }
      }
     
      return dataSources;
   }
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.