Package nexj.core.meta.j2ee

Examples of nexj.core.meta.j2ee.J2EEResourceRef.addProperty()


                     ref.addProperty(new J2EEProperty("password", fragment.getPassword()));
                     ref.addProperty(new J2EEProperty("properties",
                           PropertyUtil.toString(fragment.getPropertyHolder().getProperties())));
                     ref.addProperty(new J2EEProperty("statementCacheSize", fragment.getStatementCacheSize()));
                     ref.addProperty(new J2EEProperty("testSQL", adapter.getTestSQL()));
                     ref.addProperty(new J2EEProperty("user", fragment.getUser()));
                     ref.addProperty(new J2EEProperty("isolationLevel",
                                                      Connection.TRANSACTION_READ_COMMITTED));
                  }

                  ref.setIsolationLevel(Connection.TRANSACTION_READ_COMMITTED);
View Full Code Here


                     ref.addProperty(new J2EEProperty("properties",
                           PropertyUtil.toString(fragment.getPropertyHolder().getProperties())));
                     ref.addProperty(new J2EEProperty("statementCacheSize", fragment.getStatementCacheSize()));
                     ref.addProperty(new J2EEProperty("testSQL", adapter.getTestSQL()));
                     ref.addProperty(new J2EEProperty("user", fragment.getUser()));
                     ref.addProperty(new J2EEProperty("isolationLevel",
                                                      Connection.TRANSACTION_READ_COMMITTED));
                  }

                  ref.setIsolationLevel(Connection.TRANSACTION_READ_COMMITTED);
                  m_exporter.exportJ2EEResourceRef(ref, nPart, sNamespace, nContainer, nContext);
View Full Code Here

         ref.setResourceAdapterName(getResourceAdapterName(fc));
         ref.setTxMode(J2EEResourceRef.TX_XA);
        
         ref.setShareable(true);

         ref.addProperty(new J2EEProperty("inputConnection", false));
         ref.addProperty(new J2EEProperty("outgoingDirectory", fc.getOutgoingDirectory()));
         ref.addProperty(new J2EEProperty("outgoingTempDirectory", fc.getTemporaryDirectory()));
         ref.addProperty(new J2EEProperty("journalDirectory", fc.getOutgoingJournalPath()));
         ref.setMaxConnections(((FileChannel)channel).getMaxSenders());
View Full Code Here

         ref.setTxMode(J2EEResourceRef.TX_XA);
        
         ref.setShareable(true);

         ref.addProperty(new J2EEProperty("inputConnection", false));
         ref.addProperty(new J2EEProperty("outgoingDirectory", fc.getOutgoingDirectory()));
         ref.addProperty(new J2EEProperty("outgoingTempDirectory", fc.getTemporaryDirectory()));
         ref.addProperty(new J2EEProperty("journalDirectory", fc.getOutgoingJournalPath()));
         ref.setMaxConnections(((FileChannel)channel).getMaxSenders());

         list.add(ref);
View Full Code Here

        
         ref.setShareable(true);

         ref.addProperty(new J2EEProperty("inputConnection", false));
         ref.addProperty(new J2EEProperty("outgoingDirectory", fc.getOutgoingDirectory()));
         ref.addProperty(new J2EEProperty("outgoingTempDirectory", fc.getTemporaryDirectory()));
         ref.addProperty(new J2EEProperty("journalDirectory", fc.getOutgoingJournalPath()));
         ref.setMaxConnections(((FileChannel)channel).getMaxSenders());

         list.add(ref);
      }
View Full Code Here

         ref.setShareable(true);

         ref.addProperty(new J2EEProperty("inputConnection", false));
         ref.addProperty(new J2EEProperty("outgoingDirectory", fc.getOutgoingDirectory()));
         ref.addProperty(new J2EEProperty("outgoingTempDirectory", fc.getTemporaryDirectory()));
         ref.addProperty(new J2EEProperty("journalDirectory", fc.getOutgoingJournalPath()));
         ref.setMaxConnections(((FileChannel)channel).getMaxSenders());

         list.add(ref);
      }
   }
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.