|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.standalone.ri.StandaloneEnvironment
@Generated(value="org.jomc.tools.SourceFileProcessor 1.0", comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools") public class StandaloneEnvironment extends Object
Standalone environment.
Properties
defaultDataSourceClassName
"
Property of typejava.lang.String
.The default class name of the
DataSource
backing the standalone environment.
defaultDataSourceContextFactoryName
"
Property of typejava.lang.String
.The default class name of the
InitialContextFactory
providing the standaloneDataSource
.
defaultDataSourceJndiName
"
Property of typejava.lang.String
.The default JNDI name of the data source backing the standalone JPA implementation.
defaultEntityManagerFactoryJndiName
"
Property of typejava.lang.String
.The default JNDI name the standalone
EntityManagerFactory
is bound to.
defaultEntityManagerJndiName
"
Property of typejava.lang.String
.The default JNDI name the standalone
EntityManager
is bound to.
defaultJpaContextFactoryName
"
Property of typejava.lang.String
.The default class name of the
InitialContextFactory
providing the JPA implementation backing the standalone environment.
defaultJtaContextFactoryName
"
Property of typejava.lang.String
.The default class name of the of the
InitialContextFactory
providing the JTA implementation backing the standalone environment.
defaultJtaDataSourceJndiName
"
Property of typejava.lang.String
.The default JNDI name of the data source backing the standalone JTA implementation.
defaultTransactionManagerJndiName
"
Property of typejava.lang.String
.The default JNDI name the standalone
TransactionManager
is bound to.
defaultTransactionSynchronizationRegistryJndiName
"
Property of typejava.lang.String
.The default JNDI name the standalone
TransactionSynchronizationRegistry
is bound to.
defaultUserTransactionJndiName
"
Property of typejava.lang.String
.The default JNDI name the standalone
UserTransaction
is bound to.
Modifier and Type | Field and Description |
---|---|
static String |
DATA_SOURCE_CLASS_NAME
Constant for the name of the system property holding the class name of the DataSource backing the
standalone environment. |
static String |
DATA_SOURCE_CONTEXT_FACTORY_NAME
Constant for the name of the system property holding the class name of the InitialContextFactory
providing the DataSource implementation backing the standalone environment. |
static String |
DATA_SOURCE_JNDI_NAME
Constant for the name of the system property holding the JNDI name of the DataSource backing the
standalone environment. |
static String |
DATA_SOURCE_PASSWORD
Constant for the name of the system property holding the password of the DataSource backing the
standalone environment. |
static String |
DATA_SOURCE_PREFIX
Constant for the prefix of data source properties of the standalone environment. |
static String |
DATA_SOURCE_USER
Constant for the name of the system property holding the user of the DataSource backing the
standalone environment. |
static String |
ENTITY_MANAGER_FACTORY_JNDI_NAME
Constant for the name of the system property holding the JNDI name the standalone EntityManagerFactory
implementation is bound to. |
static String |
ENTITY_MANAGER_JNDI_NAME
Constant for the name of the system property holding the JNDI name the standalone EntityManager
implementation is bound to. |
static String |
JPA_CONTEXT_FACTORY_NAME
Constant for the name of the system property holding the class name of the InitialContextFactory
providing the JPA implementation backing the standalone environment. |
static String |
JPA_ROOT_URL
Constant for the name of the system property holding the root URL of the persistence unit backing the standalone environment. |
static String |
JTA_CONTEXT_FACTORY_NAME
Constant for the name of the system property holding the class name of the InitialContextFactory
providing the JTA implementation backing the standalone environment. |
static String |
JTA_DATA_SOURCE_JNDI_NAME
Constant for the name of the system property holding the JNDI name of the JTA aware DataSource backing
the standalone environment. |
static String |
TRANSACTION_MANAGER_JNDI_NAME
Constant for the name of the system property holding the JNDI name the standalone TransactionManager
implementation is bound to. |
static String |
TRANSACTION_SYNCHRONIZATION_REGISTRY_JNDI_NAME
Constant for the name of the system property holding the JNDI name the standalone TransactionSynchronizationRegistry implementation is bound to. |
static String |
USER_TRANSACTION_JNDI_NAME
Constant for the name of the system property holding the JNDI name the standalone UserTransaction
implementation is bound to. |
Constructor and Description |
---|
StandaloneEnvironment()
Creates a new StandaloneEnvironment instance. |
Modifier and Type | Method and Description |
---|---|
String |
getDataSourceClassName()
Gets the class name of the DataSource backing the standalone environment. |
String |
getDataSourceContextFactoryName()
Gets the class name of the InitialContextFactory providing the DataSource backing the standalone
environment. |
String |
getDataSourceJndiName()
Gets the JNDI name of the DataSource backing the standalone environment. |
String |
getDataSourcePassword()
Gets the password of the DataSource backing the standalone environment. |
String |
getDataSourceUser()
Gets the user of the DataSource backing the standalone environment. |
String |
getEntityManagerFactoryJndiName()
Gets the JNDI name the standalone EntityManagerFactory implementation is bound to. |
String |
getEntityManagerJndiName()
Gets the JNDI name the standalone EntityManager implementation is bound to. |
String |
getJpaContextFactoryName()
Gets the class name of the InitialContextFactory providing the JPA implementation backing the standalone
environment. |
URL |
getJpaRootUrl()
Gets the root URL of the persistence unit backing the standalone environment. |
String |
getJtaContextFactoryName()
Gets the class name of the InitialContextFactory providing the JTA implementation backing the standalone
environment. |
String |
getJtaDataSourceJndiName()
Gets the JNDI name of the JTA aware DataSource backing the standalone environment. |
Properties |
getProperties()
Gets the properties of the instance. |
String |
getTransactionManagerJndiName()
Gets the JNDI name the standalone TransactionManager implementation is bound to. |
String |
getTransactionSynchronizationRegistryJndiName()
Gets the JNDI name the standalone TransactionSynchronizationRegistry is bound to. |
String |
getUserTransactionJndiName()
Gets the JNDI name the standalone UserTransaction implementation is bound to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ENTITY_MANAGER_JNDI_NAME
EntityManager
implementation is bound to.
public static final String ENTITY_MANAGER_FACTORY_JNDI_NAME
EntityManagerFactory
implementation is bound to.
public static final String TRANSACTION_MANAGER_JNDI_NAME
TransactionManager
implementation is bound to.
public static final String USER_TRANSACTION_JNDI_NAME
UserTransaction
implementation is bound to.
public static final String TRANSACTION_SYNCHRONIZATION_REGISTRY_JNDI_NAME
TransactionSynchronizationRegistry
implementation is bound to.
public static final String JPA_CONTEXT_FACTORY_NAME
InitialContextFactory
providing the JPA implementation backing the standalone environment.
public static final String JPA_ROOT_URL
public static final String JTA_CONTEXT_FACTORY_NAME
InitialContextFactory
providing the JTA implementation backing the standalone environment.
public static final String JTA_DATA_SOURCE_JNDI_NAME
DataSource
backing
the standalone environment.
public static final String DATA_SOURCE_PREFIX
public static final String DATA_SOURCE_CONTEXT_FACTORY_NAME
InitialContextFactory
providing the DataSource
implementation backing the standalone environment.
public static final String DATA_SOURCE_JNDI_NAME
DataSource
backing the
standalone environment.
public static final String DATA_SOURCE_CLASS_NAME
DataSource
backing the
standalone environment.
public static final String DATA_SOURCE_USER
DataSource
backing the
standalone environment.
public static final String DATA_SOURCE_PASSWORD
DataSource
backing the
standalone environment.
Constructor Detail |
---|
@Generated(value="org.jomc.tools.SourceFileProcessor 1.0", comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools") public StandaloneEnvironment()
StandaloneEnvironment
instance.
Method Detail |
---|
public String getEntityManagerJndiName()
EntityManager
implementation is bound to.
EntityManager
implementation is bound to.public String getEntityManagerFactoryJndiName()
EntityManagerFactory
implementation is bound to.
EntityManagerFactory
implementation is bound to.public String getTransactionManagerJndiName()
TransactionManager
implementation is bound to.
TransactionManager
implementation is bound to.public String getUserTransactionJndiName()
UserTransaction
implementation is bound to.
UserTransaction
implementation is bound to.public String getTransactionSynchronizationRegistryJndiName()
TransactionSynchronizationRegistry
is bound to.
TransactionSynchronizationRegistry
is bound to.public String getJpaContextFactoryName()
InitialContextFactory
providing the JPA implementation backing the standalone
environment.
InitialContextFactory
providing the JPA implementation backing the
standalone environment or null
.public URL getJpaRootUrl()
public String getJtaContextFactoryName()
InitialContextFactory
providing the JTA implementation backing the standalone
environment.
InitialContextFactory
providing the JTA implementation backing the
standalone environment or null
.public String getJtaDataSourceJndiName()
DataSource
backing the standalone environment.
DataSource
backing the standalone environment or null
.public String getDataSourceContextFactoryName()
InitialContextFactory
providing the DataSource
backing the standalone
environment.
InitialContextFactory
providing the DataSource
backing the
standalone environment.public String getDataSourceClassName()
DataSource
backing the standalone environment.
DataSource
backing the standalone environment or null
.public String getDataSourceJndiName()
DataSource
backing the standalone environment.
DataSource
backing the standalone environment.public String getDataSourceUser()
DataSource
backing the standalone environment.
DataSource
backing the standalone environment.public String getDataSourcePassword()
DataSource
backing the standalone environment.
DataSource
backing the standalone environment.public Properties getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |