com.infilos.spring.track.AuditTransfers Maven / Gradle / Ivy
package com.infilos.spring.track;
import com.infilos.spring.track.api.AuditTransfer;
import com.infilos.spring.track.config.SpringContextConfigure;
import java.util.Optional;
public final class AuditTransfers {
private AuditTransfers() {
}
@SuppressWarnings("unchecked")
public static Optional of(Class transferClass) {
return (Optional) SpringContextConfigure.tryInject(transferClass);
}
}