Class CXFRuntimeUtils


  • public class CXFRuntimeUtils
    extends Object
    • Constructor Detail

      • CXFRuntimeUtils

        public CXFRuntimeUtils()
    • Method Detail

      • getInstance

        public static <T> T getInstance​(String beanRef,
                                        boolean namedBeansSupported)
        Type Parameters:
        T - a type to which the returned bean can be casted
        Parameters:
        beanRef - a fully qualified class name or a name of a @Named bean prefixed with hash mark ('#')
        namedBeansSupported - if true then the beanRef argument may contain a name of a @Named bean; otherwise only fully qualified class names can be passed via beanRef
        Returns:
        an instance of a Bean
      • getInstance

        public static <T> T getInstance​(String className,
                                        String kind,
                                        String targetType)