Examples of LoggingFeature


Examples of org.apache.cxf.feature.LoggingFeature

    }

    public synchronized void setFeatures(Collection<AbstractFeature> features) {
        this.features = new CopyOnWriteArrayList<AbstractFeature>(features);
        if (FORCE_LOGGING) {
            this.features.add(new LoggingFeature());
        }
        if (state == BusState.RUNNING) {
            initializeFeatures();
        }
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

       
        state = BusState.INITIAL;
       
        CXFBusFactory.possiblySetDefaultBus(this);
        if (FORCE_LOGGING) {
            features.add(new LoggingFeature());
        }
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

    public synchronized void setFeatures(Collection<AbstractFeature> features) {
        this.features.clear();
        this.features.addAll(features);
        if (FORCE_LOGGING) {
            this.features.add(new LoggingFeature());
        }
        if (state == BusState.RUNNING) {
            initializeFeatures();
        }
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

        }
    }

    private void addLoggingSupport(Endpoint endpoint, Bus bus, Logging annotation) {
        if (annotation != null) {
            LoggingFeature lf = new LoggingFeature(annotation);
            lf.initialize(endpoint, bus);
        }
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

        pf.setProperties(props);

        client = pf.create(WS1.class);

        Server server = createService(WS1.class, new WS1Impl(), "WS1", binding);
        new LoggingFeature().initialize(server, null);
        server.getEndpoint().getService().setInvoker(new BeanInvoker(new WS1Impl()));
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

        createServer(PersonService.class, new PersonServiceImpl(), feature);

        createServer(PersonServiceAnnotated.class, new PersonServiceAnnotatedImpl());

        createServer(PersonServiceRPC.class, new PersonServiceRPCImpl(), feature, new LoggingFeature());

        annotatedClient = createClient(PersonServiceAnnotated.class);
        client = createClient(PersonService.class);
        rpcClient = createClient(PersonServiceRPC.class);
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

       
        state = BusState.INITIAL;
       
        CXFBusFactory.possiblySetDefaultBus(this);
        if (FORCE_LOGGING) {
            features.add(new LoggingFeature());
        }
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

    public synchronized void setFeatures(Collection<? extends Feature> features) {
        this.features.clear();
        this.features.addAll(features);
        if (FORCE_LOGGING) {
            this.features.add(new LoggingFeature());
        }
        if (state == BusState.RUNNING) {
            initializeFeatures();
        }
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

        SchemaValidation validation = service.getPort(portName, SchemaValidation.class);
        setAddress(validation, "http://localhost:" + PORT + "/SoapContext/" + postfix);
       
        ((BindingProvider)validation).getRequestContext().put(Message.SCHEMA_VALIDATION_ENABLED, validationConfig);
        ((BindingProvider)validation).getResponseContext().put(Message.SCHEMA_VALIDATION_ENABLED, validationConfig);
        new LoggingFeature().initialize(ClientProxy.getClient(validation), getBus());
        return validation;
    }
View Full Code Here

Examples of org.apache.cxf.feature.LoggingFeature

        }
    }

    private void addLoggingSupport(Endpoint endpoint, Bus bus, Logging annotation) {
        if (annotation != null) {
            LoggingFeature lf = new LoggingFeature(annotation);
            lf.initialize(endpoint, bus);
        }
    }
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.