com.sun.xml.internal.ws.server.provider.ProviderInvokerTube Java Examples

The following examples show how to use com.sun.xml.internal.ws.server.provider.ProviderInvokerTube. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ProviderInvokerTubeFactory.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param classLoader
 * @param container
 * @param implType
 * @param invoker
 * @param argsBuilder
 * @param isAsync
 *
 * @return
 */
public static <T> ProviderInvokerTube<T> create(@Nullable final ClassLoader classLoader,
                                                @NotNull  final Container container,
                                                @NotNull  final Class<T> implType,
                                                @NotNull  final Invoker invoker,
                                                @NotNull  final ProviderArgumentsBuilder<?> argsBuilder,
                                                          final boolean isAsync)
{
    for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class,
                                                                 classLoader, container))
    {
        ProviderInvokerTube<T> tube = factory.doCreate(implType, invoker, argsBuilder, isAsync);
        if (tube != null) {
            if (logger.isLoggable(Level.FINE)) {
                ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube});
            }
            return tube;
        }
    }
    return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #2
Source File: ProviderInvokerTubeFactory.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param classLoader
 * @param container
 * @param implType
 * @param invoker
 * @param argsBuilder
 * @param isAsync
 *
 * @return
 */
public static <T> ProviderInvokerTube<T> create(@Nullable final ClassLoader classLoader,
                                                @NotNull  final Container container,
                                                @NotNull  final Class<T> implType,
                                                @NotNull  final Invoker invoker,
                                                @NotNull  final ProviderArgumentsBuilder<?> argsBuilder,
                                                          final boolean isAsync)
{
    for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class,
                                                                 classLoader, container))
    {
        ProviderInvokerTube<T> tube = factory.doCreate(implType, invoker, argsBuilder, isAsync);
        if (tube != null) {
            if (logger.isLoggable(Level.FINE)) {
                ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube});
            }
            return tube;
        }
    }
    return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #3
Source File: ProviderInvokerTubeFactory.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param classLoader
 * @param container
 * @param implType
 * @param invoker
 * @param argsBuilder
 * @param isAsync
 *
 * @return
 */
public static <T> ProviderInvokerTube<T> create(@Nullable final ClassLoader classLoader,
                                                @NotNull  final Container container,
                                                @NotNull  final Class<T> implType,
                                                @NotNull  final Invoker invoker,
                                                @NotNull  final ProviderArgumentsBuilder<?> argsBuilder,
                                                          final boolean isAsync)
{
    for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class,
                                                                 classLoader, container))
    {
        ProviderInvokerTube<T> tube = factory.doCreate(implType, invoker, argsBuilder, isAsync);
        if (tube != null) {
            if (logger.isLoggable(Level.FINE)) {
                ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube});
            }
            return tube;
        }
    }
    return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #4
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param classLoader
 * @param container
 * @param implType
 * @param invoker
 * @param argsBuilder
 * @param isAsync
 *
 * @return
 */
public static <T> ProviderInvokerTube<T> create(@Nullable final ClassLoader classLoader,
                                                @NotNull  final Container container,
                                                @NotNull  final Class<T> implType,
                                                @NotNull  final Invoker invoker,
                                                @NotNull  final ProviderArgumentsBuilder<?> argsBuilder,
                                                          final boolean isAsync)
{
    for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class,
                                                                 classLoader, container))
    {
        ProviderInvokerTube<T> tube = factory.doCreate(implType, invoker, argsBuilder, isAsync);
        if (tube != null) {
            if (logger.isLoggable(Level.FINE)) {
                ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube});
            }
            return tube;
        }
    }
    return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #5
Source File: ProviderInvokerTubeFactory.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param classLoader
 * @param container
 * @param implType
 * @param invoker
 * @param argsBuilder
 * @param isAsync
 *
 * @return
 */
public static <T> ProviderInvokerTube<T> create(@Nullable final ClassLoader classLoader,
                                                @NotNull  final Container container,
                                                @NotNull  final Class<T> implType,
                                                @NotNull  final Invoker invoker,
                                                @NotNull  final ProviderArgumentsBuilder<?> argsBuilder,
                                                          final boolean isAsync)
{
    for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class,
                                                                 classLoader, container))
    {
        ProviderInvokerTube<T> tube = factory.doCreate(implType, invoker, argsBuilder, isAsync);
        if (tube != null) {
            if (logger.isLoggable(Level.FINE)) {
                ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube});
            }
            return tube;
        }
    }
    return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #6
Source File: ProviderInvokerTubeFactory.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param classLoader
 * @param container
 * @param implType
 * @param invoker
 * @param argsBuilder
 * @param isAsync
 *
 * @return
 */
public static <T> ProviderInvokerTube<T> create(@Nullable final ClassLoader classLoader,
                                                @NotNull  final Container container,
                                                @NotNull  final Class<T> implType,
                                                @NotNull  final Invoker invoker,
                                                @NotNull  final ProviderArgumentsBuilder<?> argsBuilder,
                                                          final boolean isAsync)
{
    for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class,
                                                                 classLoader, container))
    {
        ProviderInvokerTube<T> tube = factory.doCreate(implType, invoker, argsBuilder, isAsync);
        if (tube != null) {
            if (logger.isLoggable(Level.FINE)) {
                ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube});
            }
            return tube;
        }
    }
    return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #7
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param classLoader
 * @param container
 * @param implType
 * @param invoker
 * @param argsBuilder
 * @param isAsync
 *
 * @return
 */
public static <T> ProviderInvokerTube<T> create(@Nullable final ClassLoader classLoader,
                                                @NotNull  final Container container,
                                                @NotNull  final Class<T> implType,
                                                @NotNull  final Invoker invoker,
                                                @NotNull  final ProviderArgumentsBuilder<?> argsBuilder,
                                                          final boolean isAsync)
{
    for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class,
                                                                 classLoader, container))
    {
        ProviderInvokerTube<T> tube = factory.doCreate(implType, invoker, argsBuilder, isAsync);
        if (tube != null) {
            if (logger.isLoggable(Level.FINE)) {
                ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube});
            }
            return tube;
        }
    }
    return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #8
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param classLoader
 * @param container
 * @param implType
 * @param invoker
 * @param argsBuilder
 * @param isAsync
 *
 * @return
 */
public static <T> ProviderInvokerTube<T> create(@Nullable final ClassLoader classLoader,
                                                @NotNull  final Container container,
                                                @NotNull  final Class<T> implType,
                                                @NotNull  final Invoker invoker,
                                                @NotNull  final ProviderArgumentsBuilder<?> argsBuilder,
                                                          final boolean isAsync)
{
    for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class,
                                                                 classLoader, container))
    {
        ProviderInvokerTube<T> tube = factory.doCreate(implType, invoker, argsBuilder, isAsync);
        if (tube != null) {
            if (logger.isLoggable(Level.FINE)) {
                ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube});
            }
            return tube;
        }
    }
    return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #9
Source File: ProviderInvokerTubeFactory.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                       @NotNull final Invoker invoker,
                                       @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                final boolean isAsync)
{
    return createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #10
Source File: ProviderInvokerTubeFactory.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
protected ProviderInvokerTube<T> createDefault(@NotNull final Class<T> implType,
                                               @NotNull final Invoker invoker,
                                               @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                        final boolean isAsync)
{
    return
        isAsync
        ? new AsyncProviderInvokerTube(invoker, argsBuilder)
        : new SyncProviderInvokerTube (invoker, argsBuilder);
}
 
Example #11
Source File: ProviderInvokerTubeFactory.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
@Override
public ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                       @NotNull final Invoker invoker,
                                       @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                final boolean isAsync)
{
    return createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #12
Source File: ProviderInvokerTubeFactory.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
@Override
public ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                       @NotNull final Invoker invoker,
                                       @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                final boolean isAsync)
{
    return createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #13
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
protected ProviderInvokerTube<T> createDefault(@NotNull final Class<T> implType,
                                               @NotNull final Invoker invoker,
                                               @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                        final boolean isAsync)
{
    return
        isAsync
        ? new AsyncProviderInvokerTube(invoker, argsBuilder)
        : new SyncProviderInvokerTube (invoker, argsBuilder);
}
 
Example #14
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                       @NotNull final Invoker invoker,
                                       @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                final boolean isAsync)
{
    return createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #15
Source File: ProviderInvokerTubeFactory.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
protected ProviderInvokerTube<T> createDefault(@NotNull final Class<T> implType,
                                               @NotNull final Invoker invoker,
                                               @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                        final boolean isAsync)
{
    return
        isAsync
        ? new AsyncProviderInvokerTube(invoker, argsBuilder)
        : new SyncProviderInvokerTube (invoker, argsBuilder);
}
 
Example #16
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
protected ProviderInvokerTube<T> createDefault(@NotNull final Class<T> implType,
                                               @NotNull final Invoker invoker,
                                               @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                        final boolean isAsync)
{
    return
        isAsync
        ? new AsyncProviderInvokerTube(invoker, argsBuilder)
        : new SyncProviderInvokerTube (invoker, argsBuilder);
}
 
Example #17
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
@Override
public ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                       @NotNull final Invoker invoker,
                                       @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                final boolean isAsync)
{
    return createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #18
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
protected ProviderInvokerTube<T> createDefault(@NotNull final Class<T> implType,
                                               @NotNull final Invoker invoker,
                                               @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                        final boolean isAsync)
{
    return
        isAsync
        ? new AsyncProviderInvokerTube(invoker, argsBuilder)
        : new SyncProviderInvokerTube (invoker, argsBuilder);
}
 
Example #19
Source File: ProviderInvokerTubeFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
@Override
public ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                       @NotNull final Invoker invoker,
                                       @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                final boolean isAsync)
{
    return createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #20
Source File: ProviderInvokerTubeFactory.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                       @NotNull final Invoker invoker,
                                       @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                final boolean isAsync)
{
    return createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #21
Source File: ProviderInvokerTubeFactory.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
protected ProviderInvokerTube<T> createDefault(@NotNull final Class<T> implType,
                                               @NotNull final Invoker invoker,
                                               @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                        final boolean isAsync)
{
    return
        isAsync
        ? new AsyncProviderInvokerTube(invoker, argsBuilder)
        : new SyncProviderInvokerTube (invoker, argsBuilder);
}
 
Example #22
Source File: ProviderInvokerTubeFactory.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                       @NotNull final Invoker invoker,
                                       @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                final boolean isAsync)
{
    return createDefault(implType, invoker, argsBuilder, isAsync);
}
 
Example #23
Source File: ProviderInvokerTubeFactory.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
protected ProviderInvokerTube<T> createDefault(@NotNull final Class<T> implType,
                                               @NotNull final Invoker invoker,
                                               @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                        final boolean isAsync)
{
    return
        isAsync
        ? new AsyncProviderInvokerTube(invoker, argsBuilder)
        : new SyncProviderInvokerTube (invoker, argsBuilder);
}
 
Example #24
Source File: ProviderInvokerTubeFactory.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
protected ProviderInvokerTube<T> createDefault(@NotNull final Class<T> implType,
                                               @NotNull final Invoker invoker,
                                               @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                        final boolean isAsync)
{
    return
        isAsync
        ? new AsyncProviderInvokerTube(invoker, argsBuilder)
        : new SyncProviderInvokerTube (invoker, argsBuilder);
}
 
Example #25
Source File: EndpointFactory.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
protected <T> EndpointAwareTube createProviderInvokerTube(final Class<T> implType, final WSBinding binding,
                                                          final Invoker invoker, final Container container) {
    return ProviderInvokerTube.create(implType, binding, invoker, container);
}
 
Example #26
Source File: ProviderInvokerTubeFactory.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 *
 */
protected abstract ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                                   @NotNull final Invoker invoker,
                                                   @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                            final boolean isAsync);
 
Example #27
Source File: ProviderInvokerTubeFactory.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 *
 */
protected abstract ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                                   @NotNull final Invoker invoker,
                                                   @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                            final boolean isAsync);
 
Example #28
Source File: ProviderInvokerTubeFactory.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 *
 */
protected abstract ProviderInvokerTube<T> doCreate(@NotNull final Class<T> implType,
                                                   @NotNull final Invoker invoker,
                                                   @NotNull final ProviderArgumentsBuilder<?> argsBuilder,
                                                            final boolean isAsync);
 
Example #29
Source File: EndpointFactory.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected <T> EndpointAwareTube createProviderInvokerTube(final Class<T> implType, final WSBinding binding,
                                                          final Invoker invoker, final Container container) {
    return ProviderInvokerTube.create(implType, binding, invoker, container);
}
 
Example #30
Source File: EndpointFactory.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected <T> EndpointAwareTube createProviderInvokerTube(final Class<T> implType, final WSBinding binding,
                                                          final Invoker invoker, final Container container) {
    return ProviderInvokerTube.create(implType, binding, invoker, container);
}