org.jboss.webbeans.bean.ee
Class PersistenceUnitBean

java.lang.Object
  extended by javax.inject.manager.Bean<T>
      extended by org.jboss.webbeans.bean.RIBean<T>
          extended by org.jboss.webbeans.bean.ee.AbstractJavaEEResourceBean<javax.persistence.EntityManagerFactory>
              extended by 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)
           
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getUnitName()
           
protected  javassist.util.proxy.MethodHandler newMethodHandler()
           
 
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 org.jboss.webbeans.bean.RIBean
createId, equals, getManager, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.