Package org.apache.cxf.feature

Examples of org.apache.cxf.feature.AbstractFeature


            try {
                Class<?> cls = ClassLoaderUtils
                    .loadClass("org.apache.cxf.transport.http.gzip.GZIPFeature",
                               this.getClass());
               
                AbstractFeature feature = (AbstractFeature)cls.newInstance();
                cls.getMethod("setThreshold", new Class[] {Integer.TYPE})
                    .invoke(feature, annotation.threshold());
                feature.initialize(ep, bus);
            } catch (Exception e) {
                //ignore - just assume it's an unsupported/unknown annotation
            }
        }
    }
View Full Code Here


        }
        return null;
    }

    private void addAddressingFeature(AbstractFeature a) {
        AbstractFeature f = getWSAddressingFeature();
        if (f == null) {
            features.add(a);
        }
    }
View Full Code Here

            features.add(a);
        }
    }

    private void removeAddressingFeature() {
        AbstractFeature f = getWSAddressingFeature();
        if (f != null) {
            features.remove(f);
        }
    }   
View Full Code Here

        }
        return null;
    }

    private void addAddressingFeature(AbstractFeature a) {
        AbstractFeature f = getWSAddressingFeature();
        if (f == null) {
            features.add(a);
        }
    }
View Full Code Here

            features.add(a);
        }
    }

    private void removeAddressingFeature() {
        AbstractFeature f = getWSAddressingFeature();
        if (f != null) {
            features.remove(f);
        }
    }   
View Full Code Here

        }
        return null;
    }

    private void addAddressingFeature(AbstractFeature a) {
        AbstractFeature f = getWSAddressingFeature();
        if (f == null) {
            features.add(a);
        }
    }
View Full Code Here

            features.add(a);
        }
    }

    private void removeAddressingFeature() {
        AbstractFeature f = getWSAddressingFeature();
        if (f != null) {
            features.remove(f);
        }
    }   
View Full Code Here

        }
        return null;
    }

    private void addAddressingFeature(AbstractFeature a) {
        AbstractFeature f = getWSAddressingFeature();
        if (f == null) {
            features.add(a);
        }
    }
View Full Code Here

            features.add(a);
        }
    }

    private void removeAddressingFeature() {
        AbstractFeature f = getWSAddressingFeature();
        if (f != null) {
            features.remove(f);
        }
    }   
View Full Code Here

            {
               //Don't use the class if its commented out using '#' or '!'
               //TODO: can we read this as normal property file but with null values?
               if (!featureClassName.trim().startsWith("#") && !featureClassName.trim().startsWith("!"))
               {
                  AbstractFeature feature = createFeature(featureClassName);
                  if (feature != null)
                  {
                     features.add(feature);
                  }
               }
View Full Code Here

TOP

Related Classes of org.apache.cxf.feature.AbstractFeature

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.