com.dream.solon.share.EnableShare Maven / Gradle / Ivy
The newest version!
package com.dream.solon.share;
import org.noear.solon.annotation.Import;
import javax.sql.DataSource;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(DataSourceConfiguration.class)
public @interface EnableShare {
Class extends DataSource> value();
}