25
26 package com.sun.xml.internal.ws.api.pipe;
27
28 import com.sun.istack.internal.NotNull;
29 import com.sun.istack.internal.Nullable;
30 import com.sun.xml.internal.ws.api.BindingID;
31 import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter;
32 import com.sun.xml.internal.ws.api.server.Container;
33 import com.sun.xml.internal.ws.assembler.MetroTubelineAssembler;
34 import com.sun.xml.internal.ws.util.ServiceFinder;
35 import java.util.logging.Level;
36
37 import java.util.logging.Logger;
38
39 /**
40 * Creates {@link TubelineAssembler}.
41 * <p/>
42 * <p/>
43 * To create a tubeline,
44 * the JAX-WS runtime locates {@link TubelineAssemblerFactory}s through
45 * the <tt>META-INF/services/com.sun.xml.internal.ws.api.pipe.TubelineAssemblerFactory</tt> files.
46 * Factories found are checked to see if it supports the given binding ID one by one,
47 * and the first valid {@link TubelineAssembler} returned will be used to create
48 * a tubeline.
49 *
50 * @author Jitendra Kotamraju
51 */
52 public abstract class TubelineAssemblerFactory {
53 /**
54 * Creates a {@link TubelineAssembler} applicable for the given binding ID.
55 *
56 * @param bindingId The binding ID for which a tubeline will be created,
57 * such as {@link javax.xml.ws.soap.SOAPBinding#SOAP11HTTP_BINDING}.
58 * Must not be null.
59 * @return null if this factory doesn't recognize the given binding ID.
60 */
61 public abstract TubelineAssembler doCreate(BindingID bindingId);
62
63 /**
64 * @deprecated
65 * Use {@link #create(ClassLoader, BindingID, Container)}
|
25
26 package com.sun.xml.internal.ws.api.pipe;
27
28 import com.sun.istack.internal.NotNull;
29 import com.sun.istack.internal.Nullable;
30 import com.sun.xml.internal.ws.api.BindingID;
31 import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter;
32 import com.sun.xml.internal.ws.api.server.Container;
33 import com.sun.xml.internal.ws.assembler.MetroTubelineAssembler;
34 import com.sun.xml.internal.ws.util.ServiceFinder;
35 import java.util.logging.Level;
36
37 import java.util.logging.Logger;
38
39 /**
40 * Creates {@link TubelineAssembler}.
41 * <p/>
42 * <p/>
43 * To create a tubeline,
44 * the JAX-WS runtime locates {@link TubelineAssemblerFactory}s through
45 * the {@code META-INF/services/com.sun.xml.internal.ws.api.pipe.TubelineAssemblerFactory} files.
46 * Factories found are checked to see if it supports the given binding ID one by one,
47 * and the first valid {@link TubelineAssembler} returned will be used to create
48 * a tubeline.
49 *
50 * @author Jitendra Kotamraju
51 */
52 public abstract class TubelineAssemblerFactory {
53 /**
54 * Creates a {@link TubelineAssembler} applicable for the given binding ID.
55 *
56 * @param bindingId The binding ID for which a tubeline will be created,
57 * such as {@link javax.xml.ws.soap.SOAPBinding#SOAP11HTTP_BINDING}.
58 * Must not be null.
59 * @return null if this factory doesn't recognize the given binding ID.
60 */
61 public abstract TubelineAssembler doCreate(BindingID bindingId);
62
63 /**
64 * @deprecated
65 * Use {@link #create(ClassLoader, BindingID, Container)}
|