Package com.facebook.swift.codec.internal.compiler

Examples of com.facebook.swift.codec.internal.compiler.CompilerThriftCodecFactory


    private final ThriftCatalog catalog;
    private final LoadingCache<ThriftType, ThriftCodec<?>> typeCodecs;

    public ThriftCodecManager(ThriftCodec<?>... codecs)
    {
        this(new CompilerThriftCodecFactory(), codecs);
    }
View Full Code Here


    private final ThriftCatalog catalog;
    private final LoadingCache<ThriftType, ThriftCodec<?>> typeCodecs;

    public ThriftCodecManager(ThriftCodec<?>... codecs)
    {
        this(new CompilerThriftCodecFactory(ThriftCodecManager.class.getClassLoader()), ImmutableSet.copyOf(codecs));
    }
View Full Code Here

        this(new CompilerThriftCodecFactory(ThriftCodecManager.class.getClassLoader()), ImmutableSet.copyOf(codecs));
    }

    public ThriftCodecManager(ClassLoader parent, ThriftCodec<?>... codecs)
    {
        this(new CompilerThriftCodecFactory(parent), ImmutableSet.copyOf(codecs));
    }
View Full Code Here

    private final ThriftCatalog catalog;
    private final LoadingCache<ThriftType, ThriftCodec<?>> typeCodecs;

    public ThriftCodecManager(ThriftCodec<?>... codecs)
    {
        this(new CompilerThriftCodecFactory(), codecs);
    }
View Full Code Here

    }

    @Inject
    public ThriftCodecManager(@InternalThriftCodec Set<ThriftCodec<?>> codecs)
    {
        this(new CompilerThriftCodecFactory(), codecs);
    }
View Full Code Here

    private final ThriftCatalog catalog;
    private final LoadingCache<ThriftType, ThriftCodec<?>> typeCodecs;

    public ThriftCodecManager(ThriftCodec<?>... codecs)
    {
        this(new CompilerThriftCodecFactory(), codecs);
    }
View Full Code Here

public class TestReflectionToCompilerThriftCodecFactory extends AbstractThriftCodecManagerTest
{
    @Override
    public ThriftCodecManager createReadCodecManager()
    {
        return new ThriftCodecManager(new CompilerThriftCodecFactory(true));
    }
View Full Code Here

TOP

Related Classes of com.facebook.swift.codec.internal.compiler.CompilerThriftCodecFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.