Examples of enumerateParam()


Examples of org.castor.jdo.conf.TransactionManager.enumerateParam()

    public Properties getTransactionManagerParameters() {
        Properties properties = new Properties();
        TransactionDemarcation demarcation = _jdoConf.getTransactionDemarcation();
        TransactionManager manager = demarcation.getTransactionManager();
        if (manager != null) {
            Enumeration parameters = manager.enumerateParam();
            while (parameters.hasMoreElements()) {
                Param param = (Param) parameters.nextElement();
                properties.put(param.getName(), param.getValue());
            }
        }
View Full Code Here

Examples of org.exolab.castor.jdo.conf.TransactionManager.enumerateParam()

          throw new TransactionManagerAcquireException ("Invalid value for MODE. Transaction manager factory with MODE = " +
            mode + "does not exist");

        Properties properties = new Properties();
         
        Enumeration parameters = transactionManager.enumerateParam();
        while (parameters.hasMoreElements()) {
          Param param = (Param) parameters.nextElement();
          properties.put(param.getName(), param.getValue());
        }
     
View Full Code Here

Examples of org.exolab.castor.mapping.xml.KeyGeneratorDef.enumerateParam()

                throw new MappingException(Messages.format("mapping.dupKeyGen", name));
            }
           
            Properties params = new Properties();
           
            Enumeration enumerateParam = def.enumerateParam();
            while (enumerateParam.hasMoreElements()) {
                Param par = (Param) enumerateParam.nextElement();
                params.put(par.getName(), par.getValue());
            }
           
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.