Class JndiAddressesImpl
java.lang.Object
com.vaadin.featurepack.data.jpacontainer.provider.jndijta.JndiAddressesImpl
- All Implemented Interfaces:
JndiAddresses
-
Field Summary
Fields inherited from interface com.vaadin.featurepack.data.jpacontainer.provider.jndijta.JndiAddresses
DEFAULTS -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JndiAddressesImpl
- Parameters:
trxName- the JNDI name to be used to lookup UserTransaction objectentityManagerName- the JNDI name to be used to lookup entitymanager
-
-
Method Details
-
getUserTransactionName
- Specified by:
getUserTransactionNamein interfaceJndiAddresses- Returns:
- the JNDI name used to fetch JTA transaction
-
getEntityManagerName
- Specified by:
getEntityManagerNamein interfaceJndiAddresses- Returns:
- the JNDI name used to fetch entity manager
-