Class CxfDeploymentUtils


  • public class CxfDeploymentUtils
    extends Object
    • Method Detail

      • webServiceAnnotations

        public static Stream<org.jboss.jandex.AnnotationInstance> webServiceAnnotations​(org.jboss.jandex.IndexView index)
      • createServer

        public static void createServer​(String sei,
                                        String path,
                                        org.apache.cxf.Bus bus)
        Creates a server at runtime thus triggering the generation of all required classes. This includes CXF extensions, endpoint wrappers, etc.
        Parameters:
        sei - the fully qualified name of the service class for which the server should be created
        bus - the bus to use with GeneratedClassClassLoaderCapture set properly.
      • createClient

        public static void createClient​(String sei,
                                        org.apache.cxf.Bus bus)
        Creates a client at runtime thus triggering the generation of all required classes. This includes CXF extensions, endpoint wrappers, etc.
        Parameters:
        sei - the fully qualified name of the service class for which the client should be created
        bus - the bus to use with GeneratedClassClassLoaderCapture set properly.
      • getNameSpaceFromClassInfo

        public static String getNameSpaceFromClassInfo​(org.jboss.jandex.ClassInfo wsClassInfo)