Package org.jboss.jca.as.converters.wls.api.metadata

Examples of org.jboss.jca.as.converters.wls.api.metadata.ConnectionDefinitionProperties


      if (ra.getOutboundResourceAdapter() == null ||
            ra.getOutboundResourceAdapter().getConnectionDefinitionGroup() == null ||
            ra.getOutboundResourceAdapter().getConnectionDefinitionGroup().size() == 0)
         return null;
     
      ConnectionDefinitionProperties defaultCdProps = ra.getOutboundResourceAdapter().getDefaultConnectionProperties();
           
      for (ConnectionDefinition conDef : ra.getOutboundResourceAdapter().getConnectionDefinitionGroup())
      {
         ConnectionDefinitionProperties groupCdProps = mergedCdProps(defaultCdProps,
               conDef.getDefaultConnectionProperties());
         if (conDef.getConnectionInstance() == null)
            continue;
        
         for (ConnectionInstance conInstance : conDef.getConnectionInstance())
         {
            ConnectionDefinitionProperties myCdProps = mergedCdProps(groupCdProps,
                  conInstance.getConnectionProperties());
           
            if (myCdProps.getTransactionSupport().equals(TransactionSupport.NoTransaction))
            {
               noTxConnectionFactory.add(buildNoTxConnectionFactory("java:jboss/" + conInstance.getJndiName(),
                     myCdProps, ra));
            }
            else
View Full Code Here


   }

   private OutboundResourceAdapter parseOutBoundResourceAdapetr(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      ConnectionDefinitionProperties cdProps = null;
      ArrayList<ConnectionDefinition> cds = new ArrayList<ConnectionDefinition>();
     
      while (reader.hasNext())
      {
         switch (reader.next())
View Full Code Here

   private ConnectionDefinition parseConnectionDefinition(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      String cdi = null;
      ConnectionDefinitionProperties cdProps = null;
      ArrayList<ConnectionInstance> cis = new ArrayList<ConnectionInstance>();
     
      while (reader.hasNext())
      {
         switch (reader.next())
View Full Code Here

   private ConnectionInstance parseConnectionInstance(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      String description = null;
      String jndiName = null;
      ConnectionDefinitionProperties cdProps = null;

      while (reader.hasNext())
      {
         switch (reader.next())
         {
View Full Code Here

   }

   private OutboundResourceAdapter parseOutBoundResourceAdapetr(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      ConnectionDefinitionProperties cdProps = null;
      ArrayList<ConnectionDefinition> cds = new ArrayList<ConnectionDefinition>();
     
      while (reader.hasNext())
      {
         switch (reader.next())
View Full Code Here

   private ConnectionDefinition parseConnectionDefinition(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      String cdi = null;
      ConnectionDefinitionProperties cdProps = null;
      ArrayList<ConnectionInstance> cis = new ArrayList<ConnectionInstance>();
     
      while (reader.hasNext())
      {
         switch (reader.next())
View Full Code Here

   private ConnectionInstance parseConnectionInstance(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      String description = null;
      String jndiName = null;
      ConnectionDefinitionProperties cdProps = null;

      while (reader.hasNext())
      {
         switch (reader.next())
         {
View Full Code Here

      if (ra.getOutboundResourceAdapter() == null ||
            ra.getOutboundResourceAdapter().getConnectionDefinitionGroup() == null ||
            ra.getOutboundResourceAdapter().getConnectionDefinitionGroup().size() == 0)
         return null;
     
      ConnectionDefinitionProperties defaultCdProps = ra.getOutboundResourceAdapter().getDefaultConnectionProperties();
           
      for (ConnectionDefinition conDef : ra.getOutboundResourceAdapter().getConnectionDefinitionGroup())
      {
         ConnectionDefinitionProperties groupCdProps = mergedCdProps(defaultCdProps,
               conDef.getDefaultConnectionProperties());
         if (conDef.getConnectionInstance() == null)
            continue;
        
         for (ConnectionInstance conInstance : conDef.getConnectionInstance())
         {
            ConnectionDefinitionProperties myCdProps = mergedCdProps(groupCdProps,
                  conInstance.getConnectionProperties());
           
            if (myCdProps.getTransactionSupport().equals(TransactionSupport.NoTransaction))
            {
               noTxConnectionFactory.add(buildNoTxConnectionFactory("java:jboss/" + conInstance.getJndiName(),
                     myCdProps, ra));
            }
            else
View Full Code Here

   }

   private OutboundResourceAdapter parseOutBoundResourceAdapetr(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      ConnectionDefinitionProperties cdProps = null;
      ArrayList<ConnectionDefinition> cds = new ArrayList<ConnectionDefinition>();
     
      while (reader.hasNext())
      {
         switch (reader.next())
View Full Code Here

   private ConnectionDefinition parseConnectionDefinition(XMLStreamReader reader)
      throws XMLStreamException, ParserException
   {
      String cdi = null;
      ConnectionDefinitionProperties cdProps = null;
      ArrayList<ConnectionInstance> cis = new ArrayList<ConnectionInstance>();
     
      while (reader.hasNext())
      {
         switch (reader.next())
View Full Code Here

TOP

Related Classes of org.jboss.jca.as.converters.wls.api.metadata.ConnectionDefinitionProperties

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.