org.mule.runtime.config.spring.LazyComponentInitializer Maven / Gradle / Ivy
                 Go to download
                
        
                    Show more of this group  Show more artifacts with this name
Show all versions of mule-module-spring-config
                Show all versions of mule-module-spring-config
        Mule Builder for use with Spring 2.X Namespace based XML configuration.
    
                
            /*
 * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */
package org.mule.runtime.config.spring;
import org.mule.runtime.api.component.location.Location;
import org.mule.runtime.api.exception.MuleRuntimeException;
/**
 * Initializer for the creation of lazy resources.
 *
 * @since 4.0
 */
public interface LazyComponentInitializer {
  /**
   * Calling this method guarantees that the requested component from the configuration will be created.
   * 
   * The requested component must exists in the configuration.
   *
   * @param location the location of the configuration component.
   * @throws MuleRuntimeException if there's a problem creating the component or the component does not exists.
   */
  void initializeComponent(Location location);
}
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy