org.jomc.standalone.ri
Class StandaloneEnvironment

Package class diagram package StandaloneEnvironment
java.lang.Object
  extended by org.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

Version:
$Id: StandaloneEnvironment.java 2242 2010-06-29 07:54:56Z schulte2005 $
Author:
Christian Schulte 1.0

Field Summary
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 Summary
Constructor and Description
StandaloneEnvironment()
          Creates a new StandaloneEnvironment instance.
 
Method Summary
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

ENTITY_MANAGER_JNDI_NAME

public static final String ENTITY_MANAGER_JNDI_NAME
Constant for the name of the system property holding the JNDI name the standalone EntityManager implementation is bound to.

See Also:
Constant Field Values

ENTITY_MANAGER_FACTORY_JNDI_NAME

public static final 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.

See Also:
Constant Field Values

TRANSACTION_MANAGER_JNDI_NAME

public static final String TRANSACTION_MANAGER_JNDI_NAME
Constant for the name of the system property holding the JNDI name the standalone TransactionManager implementation is bound to.

See Also:
Constant Field Values

USER_TRANSACTION_JNDI_NAME

public static final String USER_TRANSACTION_JNDI_NAME
Constant for the name of the system property holding the JNDI name the standalone UserTransaction implementation is bound to.

See Also:
Constant Field Values

TRANSACTION_SYNCHRONIZATION_REGISTRY_JNDI_NAME

public static final 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.

See Also:
Constant Field Values

JPA_CONTEXT_FACTORY_NAME

public static final 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.

See Also:
Constant Field Values

JPA_ROOT_URL

public static final String JPA_ROOT_URL
Constant for the name of the system property holding the root URL of the persistence unit backing the standalone environment.

See Also:
Constant Field Values

JTA_CONTEXT_FACTORY_NAME

public static final 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.

See Also:
Constant Field Values

JTA_DATA_SOURCE_JNDI_NAME

public static final 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.

See Also:
Constant Field Values

DATA_SOURCE_PREFIX

public static final String DATA_SOURCE_PREFIX
Constant for the prefix of data source properties of the standalone environment.

See Also:
Constant Field Values

DATA_SOURCE_CONTEXT_FACTORY_NAME

public static final 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.

See Also:
Constant Field Values

DATA_SOURCE_JNDI_NAME

public static final String DATA_SOURCE_JNDI_NAME
Constant for the name of the system property holding the JNDI name of the DataSource backing the standalone environment.

See Also:
Constant Field Values

DATA_SOURCE_CLASS_NAME

public static final String DATA_SOURCE_CLASS_NAME
Constant for the name of the system property holding the class name of the DataSource backing the standalone environment.

See Also:
Constant Field Values

DATA_SOURCE_USER

public static final String DATA_SOURCE_USER
Constant for the name of the system property holding the user of the DataSource backing the standalone environment.

See Also:
Constant Field Values

DATA_SOURCE_PASSWORD

public static final String DATA_SOURCE_PASSWORD
Constant for the name of the system property holding the password of the DataSource backing the standalone environment.

See Also:
Constant Field Values
Constructor Detail

StandaloneEnvironment

@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
           comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public StandaloneEnvironment()
Creates a new StandaloneEnvironment instance.

Method Detail

getEntityManagerJndiName

public String getEntityManagerJndiName()
Gets the JNDI name the standalone EntityManager implementation is bound to.

Returns:
The the JNDI name the standalone EntityManager implementation is bound to.

getEntityManagerFactoryJndiName

public String getEntityManagerFactoryJndiName()
Gets the JNDI name the standalone EntityManagerFactory implementation is bound to.

Returns:
The JNDI name the standalone EntityManagerFactory implementation is bound to.

getTransactionManagerJndiName

public String getTransactionManagerJndiName()
Gets the JNDI name the standalone TransactionManager implementation is bound to.

Returns:
The JNDI name the standalone TransactionManager implementation is bound to.

getUserTransactionJndiName

public String getUserTransactionJndiName()
Gets the JNDI name the standalone UserTransaction implementation is bound to.

Returns:
The JNDI name the standalone UserTransaction implementation is bound to.

getTransactionSynchronizationRegistryJndiName

public String getTransactionSynchronizationRegistryJndiName()
Gets the JNDI name the standalone TransactionSynchronizationRegistry is bound to.

Returns:
The JNDI name the standalone TransactionSynchronizationRegistry is bound to.

getJpaContextFactoryName

public String getJpaContextFactoryName()
Gets the class name of the InitialContextFactory providing the JPA implementation backing the standalone environment.

Returns:
The class name of the InitialContextFactory providing the JPA implementation backing the standalone environment or null.

getJpaRootUrl

public URL getJpaRootUrl()
Gets the root URL of the persistence unit backing the standalone environment.

Returns:
The root URL of the persistence unit backing the standalone environment.

getJtaContextFactoryName

public String getJtaContextFactoryName()
Gets the class name of the InitialContextFactory providing the JTA implementation backing the standalone environment.

Returns:
The class name of the InitialContextFactory providing the JTA implementation backing the standalone environment or null.

getJtaDataSourceJndiName

public String getJtaDataSourceJndiName()
Gets the JNDI name of the JTA aware DataSource backing the standalone environment.

Returns:
The JNDI name of the JTA aware DataSource backing the standalone environment or null.

getDataSourceContextFactoryName

public String getDataSourceContextFactoryName()
Gets the class name of the InitialContextFactory providing the DataSource backing the standalone environment.

Returns:
The class name of the InitialContextFactory providing the DataSource backing the standalone environment.

getDataSourceClassName

public String getDataSourceClassName()
Gets the class name of the DataSource backing the standalone environment.

Returns:
The class name of the DataSource backing the standalone environment or null.

getDataSourceJndiName

public String getDataSourceJndiName()
Gets the JNDI name of the DataSource backing the standalone environment.

Returns:
The JNDI name of the DataSource backing the standalone environment.

getDataSourceUser

public String getDataSourceUser()
Gets the user of the DataSource backing the standalone environment.

Returns:
The user of the DataSource backing the standalone environment.

getDataSourcePassword

public String getDataSourcePassword()
Gets the password of the DataSource backing the standalone environment.

Returns:
The password of the DataSource backing the standalone environment.

getProperties

public Properties getProperties()
Gets the properties of the instance.

Returns:
The properties of the instance.


Copyright © 2005-2010 The JOMC Project. All Rights Reserved.