01: /*
02: * JFox - The most lightweight Java EE Application Server!
03: * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
04: *
05: * JFox is licenced and re-distributable under GNU LGPL.
06: */
07: package org.jfox.entity;
08:
09: import javax.persistence.NamedNativeQuery;
10:
11: import org.jfox.framework.component.Component;
12: import org.w3c.dom.Document;
13:
14: /**
15: * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
16: */
17: public interface EntityManagerFactoryBuilder extends Component {
18:
19: void registerNamedQuery(NamedNativeQuery namedNativeQuery,
20: Class<?> definedClass);
21:
22: NamedSQLTemplate getNamedQuery(String name, String dbType);
23:
24: Document getPersistenceXMLDocument();
25: }
|