jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/server/WSEndpoint.java
changeset 32795 5a5710ee05a0
parent 25871 b80b84e87032
equal deleted inserted replaced
32712:f61a63b7d1e5 32795:5a5710ee05a0
   471      *
   471      *
   472      * <p>
   472      * <p>
   473      * This method works like the following:
   473      * This method works like the following:
   474      * <ol>
   474      * <ol>
   475      * <li>{@link ServiceDefinition} is modeleed from the given SEI type.
   475      * <li>{@link ServiceDefinition} is modeleed from the given SEI type.
   476      * <li>{@link Invoker} that always serves <tt>implementationObject</tt> will be used.
   476      * <li>{@link Invoker} that always serves {@code implementationObject} will be used.
   477      * </ol>
   477      * </ol>
   478      * @param implType
   478      * @param implType
   479      *      Endpoint class(not SEI). Enpoint class must have @WebService or @WebServiceProvider
   479      *      Endpoint class(not SEI). Enpoint class must have @WebService or @WebServiceProvider
   480      *      annotation.
   480      *      annotation.
   481      * @param processHandlerAnnotation
   481      * @param processHandlerAnnotation
   519      * @param resolver
   519      * @param resolver
   520      *      Optional resolver used to de-reference resources referenced from
   520      *      Optional resolver used to de-reference resources referenced from
   521      *      WSDL. Must be null if the {@code url} is null.
   521      *      WSDL. Must be null if the {@code url} is null.
   522      * @param isTransportSynchronous
   522      * @param isTransportSynchronous
   523      *      If the caller knows that the returned {@link WSEndpoint} is going to be
   523      *      If the caller knows that the returned {@link WSEndpoint} is going to be
   524      *      used by a synchronous-only transport, then it may pass in <tt>true</tt>
   524      *      used by a synchronous-only transport, then it may pass in {@code true}
   525      *      to allow the callee to perform an optimization based on that knowledge
   525      *      to allow the callee to perform an optimization based on that knowledge
   526      *      (since often synchronous version is cheaper than an asynchronous version.)
   526      *      (since often synchronous version is cheaper than an asynchronous version.)
   527      *      This value is visible from {@link ServerTubeAssemblerContext#isSynchronous()}.
   527      *      This value is visible from {@link ServerTubeAssemblerContext#isSynchronous()}.
   528      *
   528      *
   529      * @return newly constructed {@link WSEndpoint}.
   529      * @return newly constructed {@link WSEndpoint}.
   581 
   581 
   582         return endpoint;
   582         return endpoint;
   583     }
   583     }
   584 
   584 
   585     /**
   585     /**
   586      * Deprecated version that assumes <tt>isTransportSynchronous==false</tt>
   586      * Deprecated version that assumes {@code isTransportSynchronous==false}
   587      */
   587      */
   588     @Deprecated
   588     @Deprecated
   589     public static <T> WSEndpoint<T> create(
   589     public static <T> WSEndpoint<T> create(
   590         @NotNull Class<T> implType,
   590         @NotNull Class<T> implType,
   591         boolean processHandlerAnnotation,
   591         boolean processHandlerAnnotation,
   602 
   602 
   603 
   603 
   604     /**
   604     /**
   605      * The same as
   605      * The same as
   606      * {@link #create(Class, boolean, Invoker, QName, QName, Container, WSBinding, SDDocumentSource, Collection, EntityResolver)}
   606      * {@link #create(Class, boolean, Invoker, QName, QName, Container, WSBinding, SDDocumentSource, Collection, EntityResolver)}
   607      * except that this version takes an url of the <tt>jax-ws-catalog.xml</tt>.
   607      * except that this version takes an url of the {@code jax-ws-catalog.xml}.
   608      *
   608      *
   609      * @param catalogUrl
   609      * @param catalogUrl
   610      *      if not null, an {@link EntityResolver} is created from it and used.
   610      *      if not null, an {@link EntityResolver} is created from it and used.
   611      *      otherwise no resolution will be performed.
   611      *      otherwise no resolution will be performed.
   612      */
   612      */