Package nexj.core.meta.j2ee

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


                  {
                     ref.setResourceAdapterName(SysUtil.NAMESPACE + "-file.rar");
                     ref.setTxMode(J2EEResourceRef.TX_XA);
                     ref.setMaxConnections(fragment.getMaxPoolSize());
                    
                     ref.addProperty(new J2EEProperty("persistenceConnection", true));
                     ref.addProperty(new J2EEProperty("inputConnection", false));
                     ref.addProperty(new J2EEProperty("outgoingDirectory", fragment.getDataDirectory()));
                     ref.addProperty(new J2EEProperty("outgoingTempDirectory", fragment.getTemporaryDirectory()));
                    
                     ref.addProperty(new J2EEProperty("maxNameSplits", fragment.getMaxNameSplits()));
View Full Code Here


                     ref.setResourceAdapterName(SysUtil.NAMESPACE + "-file.rar");
                     ref.setTxMode(J2EEResourceRef.TX_XA);
                     ref.setMaxConnections(fragment.getMaxPoolSize());
                    
                     ref.addProperty(new J2EEProperty("persistenceConnection", true));
                     ref.addProperty(new J2EEProperty("inputConnection", false));
                     ref.addProperty(new J2EEProperty("outgoingDirectory", fragment.getDataDirectory()));
                     ref.addProperty(new J2EEProperty("outgoingTempDirectory", fragment.getTemporaryDirectory()));
                    
                     ref.addProperty(new J2EEProperty("maxNameSplits", fragment.getMaxNameSplits()));
                     ref.addProperty(new J2EEProperty("nameSplitSize", fragment.getNameSplitSize()));
View Full Code Here

                     ref.setTxMode(J2EEResourceRef.TX_XA);
                     ref.setMaxConnections(fragment.getMaxPoolSize());
                    
                     ref.addProperty(new J2EEProperty("persistenceConnection", true));
                     ref.addProperty(new J2EEProperty("inputConnection", false));
                     ref.addProperty(new J2EEProperty("outgoingDirectory", fragment.getDataDirectory()));
                     ref.addProperty(new J2EEProperty("outgoingTempDirectory", fragment.getTemporaryDirectory()));
                    
                     ref.addProperty(new J2EEProperty("maxNameSplits", fragment.getMaxNameSplits()));
                     ref.addProperty(new J2EEProperty("nameSplitSize", fragment.getNameSplitSize()));
                    
View Full Code Here

                     ref.setMaxConnections(fragment.getMaxPoolSize());
                    
                     ref.addProperty(new J2EEProperty("persistenceConnection", true));
                     ref.addProperty(new J2EEProperty("inputConnection", false));
                     ref.addProperty(new J2EEProperty("outgoingDirectory", fragment.getDataDirectory()));
                     ref.addProperty(new J2EEProperty("outgoingTempDirectory", fragment.getTemporaryDirectory()));
                    
                     ref.addProperty(new J2EEProperty("maxNameSplits", fragment.getMaxNameSplits()));
                     ref.addProperty(new J2EEProperty("nameSplitSize", fragment.getNameSplitSize()));
                    
                     ref.addProperty(new J2EEProperty("journalDirectory", fragment.getJournalPath()));
View Full Code Here

                     ref.addProperty(new J2EEProperty("persistenceConnection", true));
                     ref.addProperty(new J2EEProperty("inputConnection", false));
                     ref.addProperty(new J2EEProperty("outgoingDirectory", fragment.getDataDirectory()));
                     ref.addProperty(new J2EEProperty("outgoingTempDirectory", fragment.getTemporaryDirectory()));
                    
                     ref.addProperty(new J2EEProperty("maxNameSplits", fragment.getMaxNameSplits()));
                     ref.addProperty(new J2EEProperty("nameSplitSize", fragment.getNameSplitSize()));
                    
                     ref.addProperty(new J2EEProperty("journalDirectory", fragment.getJournalPath()));
                  }
                 
View Full Code Here

                     ref.addProperty(new J2EEProperty("inputConnection", false));
                     ref.addProperty(new J2EEProperty("outgoingDirectory", fragment.getDataDirectory()));
                     ref.addProperty(new J2EEProperty("outgoingTempDirectory", fragment.getTemporaryDirectory()));
                    
                     ref.addProperty(new J2EEProperty("maxNameSplits", fragment.getMaxNameSplits()));
                     ref.addProperty(new J2EEProperty("nameSplitSize", fragment.getNameSplitSize()));
                    
                     ref.addProperty(new J2EEProperty("journalDirectory", fragment.getJournalPath()));
                  }
                 
                  m_exporter.exportJ2EEResourceRef(ref, nPart, sNamespace, nContainer, nContext);
View Full Code Here

                     ref.addProperty(new J2EEProperty("outgoingTempDirectory", fragment.getTemporaryDirectory()));
                    
                     ref.addProperty(new J2EEProperty("maxNameSplits", fragment.getMaxNameSplits()));
                     ref.addProperty(new J2EEProperty("nameSplitSize", fragment.getNameSplitSize()));
                    
                     ref.addProperty(new J2EEProperty("journalDirectory", fragment.getJournalPath()));
                  }
                 
                  m_exporter.exportJ2EEResourceRef(ref, nPart, sNamespace, nContainer, nContext);
               }
            }
View Full Code Here

            SysUtil.PACKAGE + ".core.rpc.queueing.ObjectQueueConnectionFactory");

         ref.setResourceAdapterName(getResourceAdapterName(mc));
         ref.setTxMode(J2EEResourceRef.TX_NONE);
         ref.setShareable(false);
         ref.addProperty(new J2EEProperty("port", mc.getPort()));
         ref.setMaxConnections(mc.getMaxSenders());

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

      else if (JMSUtil.isPlatformAdapter(sConnFactory))
      {
        return;
      }

      ref.addProperty(new J2EEProperty("JMSConnectionFactoryName", sConnFactory));

      String sConnFactoryProps = getConnectionFactoryProperties(mq, nContainer);

      if (sConnFactoryProps != null)
      {
View Full Code Here

      String sConnFactoryProps = getConnectionFactoryProperties(mq, nContainer);

      if (sConnFactoryProps != null)
      {
         ref.addProperty(new J2EEProperty("JMSConnectionFactoryProperties", sConnFactoryProps));
      }

      ref.addProperty(new J2EEProperty("transacted", mq.isTransactional()));

      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.