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

com.ly.mybatis.mapperservice.model.ResolveHolder Maven / Gradle / Ivy

package com.ly.mybatis.mapperservice.model;

import org.springframework.core.ResolvableType;

public abstract class ResolveHolder {
    private T holder;

    public ResolveHolder(T holder) {
        this.holder = holder;
    }

    public T getHolder() {
        return holder;
    }

    public void setHolder(T holder) {
        this.holder = holder;
    }

    public ResolvableType getResolveType() {
        return ResolvableType.forClass(getClass()).as(ResolveHolder.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy