com.caucho.amber.manager
Class PersistenceContextComponent

java.lang.Object
  extended by com.caucho.webbeans.component.ComponentImpl
      extended by com.caucho.webbeans.component.FactoryComponent
          extended by com.caucho.amber.manager.PersistenceContextComponent
All Implemented Interfaces:
ObjectProxy, ComponentFactory

public class PersistenceContextComponent
extends FactoryComponent

The @PersistenceContext webbeans component


Field Summary
 
Fields inherited from class com.caucho.webbeans.component.ComponentImpl
_destroyProgram, _initProgram, _injectProgram, _scope, _webbeans
 
Constructor Summary
PersistenceContextComponent(java.lang.String name, EntityManagerTransactionProxy proxy)
           
 
Method Summary
 java.lang.Object create()
          Creates a new instance of the component.
 
Methods inherited from class com.caucho.webbeans.component.FactoryComponent
get, get, setScope
 
Methods inherited from class com.caucho.webbeans.component.ComponentImpl
addNameBinding, addProgram, bind, createNew, createNoInit, createObject, createProgram, destroy, destroy, equals, error, getBindingList, getClassName, getHandle, getIfExists, getName, getScope, getScopeId, getSimpleName, getTargetClass, getTargetSimpleName, getTargetType, getType, getWebBeans, init, init, introspect, introspectBindings, introspectScope, isDestroyPresent, isFromClass, isMatch, isMatch, isMatchByBinding, isMatchByBinding, isSingleton, setBindingList, setFromClass, setInit, setName, setTargetType, setType, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceContextComponent

public PersistenceContextComponent(java.lang.String name,
                                   EntityManagerTransactionProxy proxy)
Method Detail

create

public java.lang.Object create()
Description copied from class: ComponentImpl
Creates a new instance of the component.

Specified by:
create in interface ComponentFactory
Specified by:
create in class FactoryComponent