All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tangosol.coherence.config.builder.DefaultBuilderCustomization Maven / Gradle / Ivy

There is a newer version: 24.03
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.tangosol.coherence.config.builder;


/**
 * The {@link DefaultBuilderCustomization} class is the default implementation
 * of {@link BuilderCustomization}.
 *
 * @author pfm  2012.01.06
 * @since Coherence 12.1.2
 */
public class DefaultBuilderCustomization
        implements BuilderCustomization
    {
    // ----- BuilderCustomization interface ---------------------------------

    /**
     * {@inheritDoc}
     */
    @Override
    public ParameterizedBuilder getCustomBuilder()
        {
        return m_bldr;
        }

    /**
     * {@inheritDoc}
     */
    public void setCustomBuilder(ParameterizedBuilder bldr)
        {
        m_bldr = bldr;
        }

    // ----- data members ---------------------------------------------------

    /**
     * The {@link ParameterizedBuilder} used to build the custom instance.
     */
    private ParameterizedBuilder m_bldr;
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy