org.jboss.webbeans.bean.ee
Class PersistenceUnitBean
java.lang.Object
javax.inject.manager.Bean<T>
org.jboss.webbeans.bean.RIBean<T>
org.jboss.webbeans.bean.ee.AbstractJavaEEResourceBean<javax.persistence.EntityManagerFactory>
org.jboss.webbeans.bean.ee.PersistenceUnitBean
- All Implemented Interfaces:
- Contextual<javax.persistence.EntityManagerFactory>
public class PersistenceUnitBean
- extends AbstractJavaEEResourceBean<javax.persistence.EntityManagerFactory>
- Author:
- Pete Muir
Constructor Summary |
PersistenceUnitBean(ManagerImpl manager,
java.lang.Class<? extends java.lang.annotation.Annotation> deploymentType,
java.util.Set<java.lang.annotation.Annotation> bindings,
java.lang.String unitName)
|
Methods inherited from class org.jboss.webbeans.bean.ee.AbstractJavaEEResourceBean |
create, destroy, getBindings, getDeploymentType, getInjectionPoints, getName, getProxyClass, getScopeType, getSpecializedBean, getType, getTypes, initialize, isDependent, isNullable, isPrimitive, isProxyable, isSerializable, isSpecializing |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PersistenceUnitBean
public PersistenceUnitBean(ManagerImpl manager,
java.lang.Class<? extends java.lang.annotation.Annotation> deploymentType,
java.util.Set<java.lang.annotation.Annotation> bindings,
java.lang.String unitName)
getId
public java.lang.String getId()
- Specified by:
getId
in class RIBean<javax.persistence.EntityManagerFactory>
getUnitName
public java.lang.String getUnitName()
newMethodHandler
protected javassist.util.proxy.MethodHandler newMethodHandler()
- Specified by:
newMethodHandler
in class AbstractJavaEEResourceBean<javax.persistence.EntityManagerFactory>
Copyright © 2011. All Rights Reserved.