Save This Page
Home » Open-JDK-6.b17-src » com.sun.xml.internal » ws » server » [javadoc | source]
com.sun.xml.internal.ws.server
public class: EndpointFactory [javadoc | source]
java.lang.Object
   com.sun.xml.internal.ws.server.EndpointFactory
Entry point to the JAX-WS RI server-side runtime.
Method from com.sun.xml.internal.ws.server.EndpointFactory Summary:
createEndpoint,   getDefaultPortName,   getDefaultServiceName,   getWsdlLocation,   verifyImplementorClass
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.xml.internal.ws.server.EndpointFactory Detail:
 public static WSEndpoint<T> createEndpoint(Class<T> implType,
    boolean processHandlerAnnotation,
    Invoker invoker,
    QName serviceName,
    QName portName,
    Container container,
    WSBinding binding,
    SDDocumentSource primaryWsdl,
    Collection<SDDocumentSource> metadata,
    EntityResolver resolver,
    boolean isTransportSynchronous) 
    Implements WSEndpoint#create . No need to take WebServiceContext implementation. When InvokerPipe is instantiated, it calls InstanceResolver to set up a WebServiceContext. We shall only take delegate to getUserPrincipal and isUserInRole from adapter.

    Nobody else should be calling this method.

 public static QName getDefaultPortName(QName serviceName,
    Class<?> implType) 
    If portName is not already set via DD or programmatically, it uses annotations on implementorClass to get PortName.
 public static QName getDefaultServiceName(Class<?> implType) 
    If service name is not already set via DD or programmatically, it uses annotations WebServiceProvider , WebService on implementorClass to get PortName.
 public static String getWsdlLocation(Class<?> implType) 
    Returns the wsdl from @WebService, or @WebServiceProvider annotation using wsdlLocation element.
 public static boolean verifyImplementorClass(Class<?> clz) 
    Verifies if the endpoint implementor class has @WebService or @WebServiceProvider annotation