Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.4.0)

E90870-01

coherence/io/SerializerFactory.hpp

00001 /*
00002 * SerializerFactory.hpp
00003 *
00004 * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
00005 *
00006 * Oracle is a registered trademarks of Oracle Corporation and/or its
00007 * affiliates.
00008 *
00009 * This software is the confidential and proprietary information of Oracle
00010 * Corporation. You shall not disclose such confidential and proprietary
00011 * information and shall use it only in accordance with the terms of the
00012 * license agreement you entered into with Oracle.
00013 *
00014 * This notice may not be removed or altered.
00015 */
00016 #ifndef COH_SERIALIZER_FACTORY_HPP
00017 #define COH_SERIALIZER_FACTORY_HPP
00018 
00019 #include "coherence/lang.ns"
00020 
00021 #include "coherence/io/Serializer.hpp"
00022 
00023 COH_OPEN_NAMESPACE2(coherence,io)
00024 
00025 
00026 /**
00027 * A factory for Serializer objects.
00028 *
00029 * @author wl  2011.11.07
00030 *
00031 * @since Coherence 12.1.2
00032 */
00033 class COH_EXPORT SerializerFactory
00034     : public interface_spec<SerializerFactory>
00035     {
00036     // ----- SerializerFactory interface ------------------------------------
00037 
00038     public:
00039         /**
00040         * Create a new Serializer.
00041         *
00042         * @param vLoader  the optional ClassLoader with which to configure the
00043         *                 new Serializer.
00044         *
00045         * @return the new Serializer
00046         */
00047         virtual Serializer::View createSerializer(ClassLoader::View vLoader) const = 0;
00048     };
00049 
00050 COH_CLOSE_NAMESPACE2
00051 
00052 #endif // COH_SERIALIZER_FACTORY_HPP
Copyright © 2000, 2019, Oracle and/or its affiliates. All rights reserved.