HashSet proxyInterfaces = new HashSet();
proxyInterfaces.add(HibernateProxy.class);
Class mappedClass = DataPoint.class;
Method proxyGetIdentifierMethod = mappedClass.getMethod("getId",new Class[]{});
Method proxySetIdentifierMethod = mappedClass.getMethod("setId",new Class[]{Long.TYPE});
pf.postInstantiate(
"Test" ,
mappedClass,
proxyInterfaces,
proxyGetIdentifierMethod,
proxySetIdentifierMethod,