Package org.apache.cxf.bus.extension

Examples of org.apache.cxf.bus.extension.ExtensionManager


  private static boolean setExtensionOnBusIfMissing(Bus bus,
      Map<String, Extension> exts, String extensionName) {
    if (exts.containsKey(extensionName)
        && !bus.hasExtensionByName(extensionName)) {
      ExtensionManager extMan = bus.getExtension(ExtensionManager.class);
      if (extMan instanceof ExtensionManagerImpl) {
        ((ExtensionManagerImpl) extMan).add(exts.get(extensionName));
        return true;
      } else {
        throw new RuntimeException(
View Full Code Here

TOP

Related Classes of org.apache.cxf.bus.extension.ExtensionManager

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.