001package ball.spring.mysqld.autoconfigure;
002/*-
003 * ##########################################################################
004 * Reusable Spring Components
005 * $Id: AutoConfiguration.java 7600 2021-02-19 04:42:20Z ball $
006 * $HeadURL: svn+ssh://svn.hcf.dev/var/spool/scm/repository.svn/ball-spring/trunk/mysqld-starter/src/main/java/ball/spring/mysqld/autoconfigure/AutoConfiguration.java $
007 * %%
008 * Copyright (C) 2018 - 2021 Allen D. Ball
009 * %%
010 * Licensed under the Apache License, Version 2.0 (the "License");
011 * you may not use this file except in compliance with the License.
012 * You may obtain a copy of the License at
013 *
014 *      http://www.apache.org/licenses/LICENSE-2.0
015 *
016 * Unless required by applicable law or agreed to in writing, software
017 * distributed under the License is distributed on an "AS IS" BASIS,
018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
019 * See the License for the specific language governing permissions and
020 * limitations under the License.
021 * ##########################################################################
022 */
023import ball.spring.mysqld.EntityManagerFactoryComponent;
024import ball.spring.mysqld.MysqldConfiguration;
025import lombok.NoArgsConstructor;
026import lombok.ToString;
027import lombok.extern.log4j.Log4j2;
028import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
029import org.springframework.context.annotation.Configuration;
030import org.springframework.context.annotation.Import;
031
032/**
033 * Auto {@link Configuration}.
034 *
035 * @author {@link.uri mailto:ball@hcf.dev Allen D. Ball}
036 * @version $Revision: 7600 $
037 */
038@Configuration
039@ConditionalOnClass({ MysqldConfiguration.class })
040@Import({ EntityManagerFactoryComponent.class, MysqldConfiguration.class })
041@NoArgsConstructor @ToString @Log4j2
042public class AutoConfiguration {
043}