Package org.jboss.resource.metadata

Examples of org.jboss.resource.metadata.JBossRAMetaData


         }
         if (attributes.isEmpty() == false)
            rarDeployment.setAttributes(attributes);
        
         // We will have to see how to define the set of dependencies
         JBossRAMetaData jmd = rdmd.getRaXmlMetaData();
         if(jmd.getDependsMetaData() != null)
         {
           //String dependsObjectName = jmd.getDependsMetaData().getDependsName();
           List<ServiceDependencyMetaData> dependencies = new ArrayList<ServiceDependencyMetaData>();
                     
           List<DependsMetaData> depends = jmd.getDependsMetaData();
          
           if(!depends.isEmpty())
           {
             Iterator<DependsMetaData> iter = depends.iterator();
             while(iter.hasNext())
View Full Code Here


      ConnectorMetaData cmd = getInstance(metadata, ConnectorMetaData.class);
      if (cmd != null)
         deployment.setConnectorMetaData(cmd);

      JBossRAMetaData jrmd = getInstance(metadata, JBossRAMetaData.class);
      if (jrmd != null)
         deployment.setRaXmlMetaData(jrmd);

      VFSDeploymentUnit parent = unit.getParent();
      String name = unit.getSimpleName();
View Full Code Here

         if(is != null)
         {
           
            Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
            ObjectModelFactory factory = getExtendedObjectModelFactory();
            JBossRAMetaData ramd = (JBossRAMetaData)unmarshaller.unmarshal(is, factory, (Object)null);
            rdmd.setRaXmlMetaData(ramd);
           
         }
     
      }
View Full Code Here

      ConnectorMetaData cmd = getInstance(metadata, ConnectorMetaData.class);
      if (cmd != null)
         deployment.setConnectorMetaData(cmd);

      JBossRAMetaData jrmd = getInstance(metadata, JBossRAMetaData.class);
      if (jrmd != null)
         deployment.setRaXmlMetaData(jrmd);

      VFSDeploymentUnit parent = unit.getParent();
      String name = unit.getSimpleName();
View Full Code Here

      {
         throw new IllegalArgumentException("Error invalid root element for jboss-ra.xml" + localName);
        
      }
     
      JBossRAMetaData ramd = new JBossRAMetaData();     
      return ramd;
   }
View Full Code Here

         }
         if (attributes.isEmpty() == false)
            rarDeployment.setAttributes(attributes);
        
         // We will have to see how to define the set of dependencies
         JBossRAMetaData jmd = rdmd.getRaXmlMetaData();
         if(jmd.getDependsMetaData() != null)
         {
           //String dependsObjectName = jmd.getDependsMetaData().getDependsName();
           List<ServiceDependencyMetaData> dependencies = new ArrayList<ServiceDependencyMetaData>();
                     
           List<DependsMetaData> depends = jmd.getDependsMetaData();
          
           if(!depends.isEmpty())
           {
             Iterator<DependsMetaData> iter = depends.iterator();
             while(iter.hasNext())
View Full Code Here

/*     */     {
/*  85 */       if (is != null)
/*     */       {
/*  88 */         Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
/*  89 */         ObjectModelFactory factory = getExtendedObjectModelFactory();
/*  90 */         JBossRAMetaData ramd = (JBossRAMetaData)unmarshaller.unmarshal(is, factory, (Object)null);
/*  91 */         rdmd.setRaXmlMetaData(ramd);
/*     */       }
/*     */
/*     */     }
/*     */     catch (Throwable e)
View Full Code Here

/* 52 */     if ((localName == null) || (!localName.equals("jboss-ra")))
/*    */     {
/* 54 */       throw new IllegalArgumentException("Error invalid root element for jboss-ra.xml" + localName);
/*    */     }
/*    */
/* 58 */     JBossRAMetaData ramd = new JBossRAMetaData();
/* 59 */     return ramd;
/*    */   }
View Full Code Here

TOP

Related Classes of org.jboss.resource.metadata.JBossRAMetaData

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.