public class EntityManagerFactoryLocator extends Object implements org.apache.wicket.proxy.IProxyTargetLocator
IProxyTargetLocator
to locate Java EE 5 EntityManagerFactory
To use this technique in a Wicket Page, just insert a line likeConstructor and Description |
---|
EntityManagerFactoryLocator(String pUnit)
Constructor
|
public EntityManagerFactoryLocator(String pUnit)
pUnit
- - persistence unitpublic Object locateProxyTarget()
locateProxyTarget
in interface org.apache.wicket.proxy.IProxyTargetLocator
IProxyTargetLocator.locateProxyTarget()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getPersistenceUnit()
Copyright © 2015. All rights reserved.