Class WebServiceReferences


  • public class WebServiceReferences
    extends Object
    Utility class that encapsulates the creation of web service ref factories.

    This is also used by Weld to perform WS injection.

    Author:
    Stuart Douglas
    • Method Detail

      • createWebServiceFactory

        public static org.jboss.as.naming.ManagedReferenceFactory createWebServiceFactory​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
                                                                                          String targetType,
                                                                                          WSRefAnnotationWrapper wsRefDescription,
                                                                                          AnnotatedElement target,
                                                                                          String bindingName)
                                                                                   throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • createWebServiceFactory

        public static org.jboss.as.naming.ManagedReferenceFactory createWebServiceFactory​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
                                                                                          String targetType,
                                                                                          WSRefAnnotationWrapper wsRefDescription,
                                                                                          AnnotatedElement target,
                                                                                          String bindingName,
                                                                                          String refKey)
                                                                                   throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException