Examples of afterPropertiesSet()


Examples of Framework.remoting.PluggableRmiProxyFactoryBean.afterPropertiesSet()

        bean.setServiceUrl(getServiceUrl());
        _log.debug("resolveProxy serviceURL: " + bean.getServiceUrl());
        bean.setServiceInterface(MethodInvoker.class);
        // TF:13/05/2009:Set this method to retry a connection if the server connection drops out for some reason
        bean.setRefreshStubOnConnectFailure(true);
        bean.afterPropertiesSet();
        // get the proxy
        return bean.getObject();
    }

}
View Full Code Here

Examples of cn.org.rapid_framework.generator.provider.db.sql.model.Sql.afterPropertiesSet()

                    sql.setParamType(op.getParamtype());
                }else if(StringHelper.isBlank(op.getParamtype()) && (sql.isSelectSql() || sql.isDeleteSql())) {
                    sql.setParamType(Sql.PARAMTYPE_PRIMITIVE);
                }
               
                sql.afterPropertiesSet();
                return afterProcessed(sql,op,table);
          }catch(Exception e) {
                throw new RuntimeException("parse sql error on table:"+table.getSqlName()+" operation:"+op.getName()+"() sql:"+op.getSql(),e);
            }
        }
View Full Code Here

Examples of com.alibaba.citrus.service.form.impl.configuration.GroupConfigImpl.afterPropertiesSet()

            fields.add(copy);
        }

        groupCopy.setFieldConfigImplList(fields);
        groupCopy.setParentGroup("groupSrc");
        groupCopy.afterPropertiesSet();

        GroupConfigImpl groupSrc = new GroupConfigImpl();
        groupSrc.setName("groupSrc");
        groupSrc.setFieldConfigImplList(createFieldList(src));
        groupSrc.afterPropertiesSet();
View Full Code Here

Examples of com.alibaba.citrus.service.form.impl.validation.composite.AllOfValidator.afterPropertiesSet()

        if (validators.size() > 1) {
            AllOfValidator all = new AllOfValidator();
            all.setValidators(validators);

            try {
                all.afterPropertiesSet();
            } catch (Exception e) {
                throw new IllegalArgumentException(e);
            }

            validators = createArrayList((Validator) all);
View Full Code Here

Examples of com.alibaba.citrus.service.jsp.impl.JspEngineImpl.afterPropertiesSet()

        // no resource loader
        JspEngineImpl engine = new JspEngineImpl(servletContext, createMock(MockRequestProxy.class),
                createMock(MockResponseProxy.class));

        try {
            engine.afterPropertiesSet();
            fail();
        } catch (IllegalArgumentException e) {
            assertThat(e, exception("resourceLoader"));
        }
View Full Code Here

Examples of com.alibaba.citrus.service.pipeline.impl.PipelineImpl.afterPropertiesSet()

    protected final PipelineImpl createPipeline(Valve... valves) {
        PipelineImpl pipeline = new PipelineImpl();
        pipeline.setValves(valves);

        try {
            pipeline.afterPropertiesSet();
        } catch (RuntimeException e) {
            throw e;
        } catch (Exception e) {
            throw new AssertionError(e);
        }
View Full Code Here

Examples of com.alibaba.citrus.service.requestcontext.session.encoder.impl.SerializationEncoder.afterPropertiesSet()

    protected SessionEncoder createDefaultSessionEncoder() {
        SerializationEncoder encoder = new SerializationEncoder();

        try {
            encoder.afterPropertiesSet();
        } catch (Exception e) {
            throw new SessionStoreException("Could not create default session encoder", e);
        }

        return encoder;
View Full Code Here

Examples of com.alibaba.citrus.service.requestcontext.session.valueencoder.impl.SimpleValueEncoder.afterPropertiesSet()

        }
    }

    protected SessionValueEncoder createDefaultSessionValueEncoder() throws Exception {
        SimpleValueEncoder simpleValueEncoder = new SimpleValueEncoder();
        simpleValueEncoder.afterPropertiesSet();
        return simpleValueEncoder;
    }

    public Iterable<String> getAttributeNames(String sessionID, StoreContext storeContext) {
        State state = getState(storeContext);
View Full Code Here

Examples of com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl.afterPropertiesSet()

            // create default configuration
            WebxConfigurationImpl parentConfiguration = new WebxConfigurationImpl();
            parentConfiguration.setApplicationContext(componentsContext);

            try {
                parentConfiguration.afterPropertiesSet();
            } catch (RuntimeException ee) {
                throw ee;
            } catch (Exception ee) {
                throw new RuntimeException(ee);
            }
View Full Code Here

Examples of com.alibaba.otter.node.etl.common.pipe.impl.http.archive.ArchiveBean.afterPropertiesSet()

    // @Test
    public void test_pack() {
        ArchiveBean archiveBean = new ArchiveBean();
        try {
            archiveBean.afterPropertiesSet();
            archiveBean.setUseLocalFileMutliThread(false);
        } catch (Exception e1) {
            want.fail();
        }
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.