com.jdon.bussinessproxy.meta.SingletonPOJOTargetMetaDef Maven / Gradle / Ivy
package com.jdon.bussinessproxy.meta;
import com.jdon.bussinessproxy.target.SingletonPOJOObjectFactory;
import com.jdon.bussinessproxy.target.TargetObjectFactory;
public class SingletonPOJOTargetMetaDef extends POJOTargetMetaDef {
/**
*
*/
private static final long serialVersionUID = -5892020922243280686L;
public SingletonPOJOTargetMetaDef(String name, String className) {
super(name, className);
}
public SingletonPOJOTargetMetaDef(String name, String className, String[] constructors) {
super(name, className, constructors);
}
protected void init() {
pOJOObjectFactory = new SingletonPOJOObjectFactory(this);
}
public TargetObjectFactory getTargetObjectFactory() {
if (pOJOObjectFactory == null)
this.init();
return pOJOObjectFactory;
}
}