| |
|
| java.lang.Object org.ow2.easybeans.deployment.annotations.impl.JavaxPersistenceContext
JavaxPersistenceContext | public class JavaxPersistenceContext implements IJavaxPersistenceContext(Code) | | This class allow to set informations on javax.persistence.PersistenceContext
annotation.
author: Florent Benoit |
JavaxPersistenceContext | public JavaxPersistenceContext()(Code) | | Build new object with default values.
|
getName | public String getName()(Code) | | the unit name used by this persistence context. |
getType | public PersistenceContextType getType()(Code) | | the type of persistence context. |
getUnitName | public String getUnitName()(Code) | | the unit name used by this persistence context. |
setName | public void setName(String name)(Code) | | sets the name of this persistence context.
Parameters: name - the name of the persistence context |
setType | public void setType(PersistenceContextType type)(Code) | | Sets the persistence context type.
Parameters: type - given type. |
setUnitName | public void setUnitName(String unitName)(Code) | | sets the unit name of this persistence context.
Parameters: unitName - the name of the persistence unit |
|
|
|