
io.quarkus.hibernate.orm.runtime.proxies.PreGeneratedProxies Maven / Gradle / Ivy
package io.quarkus.hibernate.orm.runtime.proxies;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* A holder class for proxies that were generated at build time,
* where possible these are re-used rather than generating new ones
* at static init time.
*
* In most circumstances these will be used for every entity, however
* in some corner cases it may still be necessary to generate proxies
* at static init time.
*
* This class is bytecode recordable.
*/
public class PreGeneratedProxies {
private Map proxies = new HashMap<>();
public Map getProxies() {
return proxies;
}
public void setProxies(Map proxies) {
this.proxies = proxies;
}
public static class ProxyClassDetailsHolder {
private String className;
private Set proxyInterfaces = new HashSet<>();
public ProxyClassDetailsHolder() {
}
public ProxyClassDetailsHolder(String className, Set proxyInterfaces) {
this.className = className;
this.proxyInterfaces = proxyInterfaces;
}
public String getClassName() {
return className;
}
public void setClassName(String className) {
this.className = className;
}
public Set getProxyInterfaces() {
return proxyInterfaces;
}
public void setProxyInterfaces(Set proxyInterfaces) {
this.proxyInterfaces = proxyInterfaces;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy