Examples of StandardConverter


Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

                Multiplicity defaultMul = out == Output.FEED ? Multiplicity.MANY
                    : batch > 1 ? Multiplicity.MANY : Multiplicity.ONE;
                Multiplicity mul = parseEnum(multiplicity, defaultMul, Multiplicity.class);
                Format form = parseEnum(format, Format.CONTENT, Format.class);
                if (out == Output.FEED) {
                    c = new StandardConverter(out, mul, form);
                } else {
                    c = new StandardConverter(out, mul, form);
                }
                if (retryPause != null) {
                    int timeout = parseInt(retryTimeout, 0, 0);
                    int pause = parseInt(retryPauseTime, 1, 30);
                    boolean linear = !retryPause.equalsIgnoreCase("exponential");
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

    @Test
    public void testPrivateLogger() throws Exception {
        configureLogging("resources/logging_atompush_disabled.properties");
        Logger log = LogUtils.getL7dLogger(JAXRSLoggingAtomPushTest.class, null, "private-log");
        Converter c = new StandardConverter(Output.FEED, Multiplicity.ONE, Format.CONTENT);
        Deliverer d = new WebClientDeliverer("http://localhost:" + PORT);
        Handler h = new AtomPushHandler(2, c, d);
        log.addHandler(h);
        log.setLevel(Level.ALL);
        logSixEvents(log);
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

        Logger log = LogUtils.getL7dLogger(JAXRSLoggingAtomPushTest.class, null, "private-log");
        AbstractFeedBuilder<List<org.apache.cxf.management.web.logging.LogRecord>> fb =
            createCustomFeedBuilder();
        AbstractEntryBuilder<List<org.apache.cxf.management.web.logging.LogRecord>> eb =
            createCustomEntryBuilder();
        Converter c = new StandardConverter(Output.FEED, Multiplicity.ONE, Format.CONTENT, fb, eb);
        Deliverer d = new WebClientDeliverer("http://localhost:" + PORT);
        Handler h = new AtomPushHandler(2, c, d);
        log.addHandler(h);
        log.setLevel(Level.ALL);
        logSixEvents(log);
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

   
    @Test
    public void testPrivateLogger() throws Exception {
        configureLogging("resources/logging_atompush_disabled.properties");
        Logger log = LogUtils.getL7dLogger(JAXRSLoggingAtomPushTest.class, null, "private-log");
        Converter c = new StandardConverter(Output.FEED, Multiplicity.ONE, Format.CONTENT);
        Deliverer d = new WebClientDeliverer("http://localhost:" + PORT);
        Handler h = new AtomPushHandler(2, c, d);
        log.addHandler(h);
        log.setLevel(Level.ALL);
        logSixEvents(log);
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

        Logger log = LogUtils.getL7dLogger(JAXRSLoggingAtomPushTest.class, null, "private-log");
        AbstractFeedBuilder<List<org.apache.cxf.management.web.logging.LogRecord>> fb =
            createCustomFeedBuilder();
        AbstractEntryBuilder<List<org.apache.cxf.management.web.logging.LogRecord>> eb =
            createCustomEntryBuilder();
        Converter c = new StandardConverter(Output.FEED, Multiplicity.ONE, Format.CONTENT, fb, eb);
        Deliverer d = new WebClientDeliverer("http://localhost:" + PORT);
        Handler h = new AtomPushHandler(2, c, d);
        log.addHandler(h);
        log.setLevel(Level.ALL);
        logSixEvents(log);
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

                Multiplicity defaultMul = out == Output.FEED ? Multiplicity.MANY
                    : batch > 1 ? Multiplicity.MANY : Multiplicity.ONE;
                Multiplicity mul = parseEnum(multiplicity, defaultMul, Multiplicity.class);
                Format form = parseEnum(format, Format.CONTENT, Format.class);
                if (out == Output.FEED) {
                    c = new StandardConverter(out, mul, form);
                } else {
                    c = new StandardConverter(out, mul, form);
                }
                if (retryPause != null) {
                    int timeout = parseInt(retryTimeout, 0, 0);
                    int pause = parseInt(retryPauseTime, 1, 30);
                    boolean linear = !retryPause.equalsIgnoreCase("exponential");
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

    @Test
    public void testPrivateLogger() throws Exception {
        configureLogging("resources/logging_atompush_disabled.properties");
        Logger log = LogUtils.getL7dLogger(JAXRSLoggingAtomPushTest.class, null, "private-log");
        Converter c = new StandardConverter(Output.FEED, Multiplicity.ONE, Format.CONTENT);
        Deliverer d = new WebClientDeliverer("http://localhost:" + PORT);
        Handler h = new AtomPushHandler(2, c, d);
        log.addHandler(h);
        log.setLevel(Level.ALL);
        logSixEvents(log);
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

        Logger log = LogUtils.getL7dLogger(JAXRSLoggingAtomPushTest.class, null, "private-log");
        AbstractFeedBuilder<List<org.apache.cxf.management.web.logging.LogRecord>> fb =
            createCustomFeedBuilder();
        AbstractEntryBuilder<List<org.apache.cxf.management.web.logging.LogRecord>> eb =
            createCustomEntryBuilder();
        Converter c = new StandardConverter(Output.FEED, Multiplicity.ONE, Format.CONTENT, fb, eb);
        Deliverer d = new WebClientDeliverer("http://localhost:" + PORT);
        Handler h = new AtomPushHandler(2, c, d);
        log.addHandler(h);
        log.setLevel(Level.ALL);
        logSixEvents(log);
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

                Output out = parseEnum(output, Output.FEED, Output.class);
                Multiplicity defaultMul = out == Output.FEED ? Multiplicity.MANY
                    : batch > 1 ? Multiplicity.MANY : Multiplicity.ONE;
                Multiplicity mul = parseEnum(multiplicity, defaultMul, Multiplicity.class);
                Format form = parseEnum(format, Format.CONTENT, Format.class);
                c = new StandardConverter(out, mul, form);
               
                if (retryPause != null) {
                    int timeout = parseInt(retryTimeout, 0, 0);
                    int pause = parseInt(retryPauseTime, 1, 30);
                    boolean linear = !retryPause.equalsIgnoreCase("exponential");
View Full Code Here

Examples of org.apache.cxf.management.web.logging.atom.converter.StandardConverter

   
    @Test
    public void testPrivateLogger() throws Exception {
        configureLogging("resources/logging_atompush_disabled.properties");
        Logger log = LogUtils.getL7dLogger(JAXRSLoggingAtomPushTest.class, null, "private-log");
        Converter c = new StandardConverter(Output.FEED, Multiplicity.ONE, Format.CONTENT);
        Deliverer d = new WebClientDeliverer("http://localhost:" + PORT);
        Handler h = new AtomPushHandler(2, c, d);
        log.addHandler(h);
        log.setLevel(Level.ALL);
        logSixEvents(log);
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.