Package org.apache.ode.store

Examples of org.apache.ode.store.ConfStoreConnection


    }
   
    public void testProcessProperties() {
        QName foobar = new QName("foo","bar");
        cf.beginTransaction();
        ConfStoreConnection conn = cf.getConnection();
        try {
            DeploymentUnitDAO du = conn.createDeploymentUnit("foo1");
            ProcessConfDAO p = du.createProcess(foobar,foobar,1);
            p.setProperty(foobar,"baz");
        } finally {
            cf.commitTransaction();
        }
       
        cf.beginTransaction();
        conn = cf.getConnection();
        try {
            DeploymentUnitDAO du = conn.getDeploymentUnit("foo1");
            ProcessConfDAO p = du.getProcess(foobar);
            assertNotNull(p.getProperty(foobar));
            assertEquals("baz", p.getProperty(foobar));
            assertNotNull(p.getPropertyNames());
            assertTrue(p.getPropertyNames().contains(foobar));
View Full Code Here

TOP

Related Classes of org.apache.ode.store.ConfStoreConnection

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.