Package org.objectweb.celtix.bus.configuration.wsrm

Examples of org.objectweb.celtix.bus.configuration.wsrm.StoreInitParamType


    public void testStoreCreationWithParams() {
        IMocksControl control = EasyMock.createNiceControl();
        Configuration c = control.createMock(Configuration.class)
        StoreType s = RMUtils.getWSRMConfFactory().createStoreType();
        s.setStoreClass("org.objectweb.celtix.bus.ws.rm.persistence.file.RMFileStore");
        StoreInitParamType param = RMUtils.getWSRMConfFactory().createStoreInitParamType();
        param.setParamName(RMFileStore.FILE_STORE_DIR);
        param.setParamValue("dbs/rm");
        s.getInitParam().add(param);
        param = RMUtils.getWSRMConfFactory().createStoreInitParamType();
        param.setParamName("prop2");
        param.setParamValue("val2");
        s.getInitParam().add(param);
        c.getObject(StoreType.class, "store");
        EasyMock.expectLastCall().andReturn(s);
        control.replay();
       
View Full Code Here

TOP

Related Classes of org.objectweb.celtix.bus.configuration.wsrm.StoreInitParamType

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.