com.sap.mdm.session
Class ConnectionTypes

java.lang.Object
  extended bycom.sap.mdm.session.ConnectionTypes

public class ConnectionTypes
extends Object

Enumerations specifying connection types


Field Summary
static int AUTO_DEFINE_CONNECTION
          Automatically defined which connection should be created: 1) ConnectionPool for standalone application 2) JcaConnectionAccessor for J2EE application
static String AUTO_DEFINE_CONNECTION_NAME
           
static int JCA_CONNECTION
          Connection is instance of JcaConnectionAccessor class
static String JCA_CONNECTION_NAME
           
static int LOCAL_POOL_CONNECTION
          Connection is instance of ConnectionPool class
static String LOCAL_POOL_CONNECTION_NAME
           
static int LOCAL_SIMPLE_CONNECTION
          Deprecated.  
static String LOCAL_SIMPLE_CONNECTION_NAME
          Deprecated.  
static int UNKNOWN_CONNECTION
           
static String UNKNOWN_CONNECTION_NAME
          Constants for connection type names
 
Constructor Summary
ConnectionTypes()
           
 
Method Summary
static int getConnectionType(String connectionTypeName)
          Convert name of connection type to connection type
static String getConnectionTypeName(int connectionType)
          Convert connection type to connection type name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN_CONNECTION

public static final int UNKNOWN_CONNECTION
See Also:
Constant Field Values

AUTO_DEFINE_CONNECTION

public static final int AUTO_DEFINE_CONNECTION
Automatically defined which connection should be created: 1) ConnectionPool for standalone application 2) JcaConnectionAccessor for J2EE application

See Also:
Constant Field Values

LOCAL_POOL_CONNECTION

public static final int LOCAL_POOL_CONNECTION
Connection is instance of ConnectionPool class

See Also:
Constant Field Values

LOCAL_SIMPLE_CONNECTION

public static final int LOCAL_SIMPLE_CONNECTION
Deprecated.  

Connection is instance of SimpleConnection class

See Also:
Constant Field Values

JCA_CONNECTION

public static final int JCA_CONNECTION
Connection is instance of JcaConnectionAccessor class

See Also:
Constant Field Values

UNKNOWN_CONNECTION_NAME

public static final String UNKNOWN_CONNECTION_NAME
Constants for connection type names

See Also:
Constant Field Values

AUTO_DEFINE_CONNECTION_NAME

public static final String AUTO_DEFINE_CONNECTION_NAME
See Also:
Constant Field Values

LOCAL_POOL_CONNECTION_NAME

public static final String LOCAL_POOL_CONNECTION_NAME
See Also:
Constant Field Values

JCA_CONNECTION_NAME

public static final String JCA_CONNECTION_NAME
See Also:
Constant Field Values

LOCAL_SIMPLE_CONNECTION_NAME

public static final String LOCAL_SIMPLE_CONNECTION_NAME
Deprecated.  

Name of simple connection

See Also:
Constant Field Values
Constructor Detail

ConnectionTypes

public ConnectionTypes()
Method Detail

getConnectionTypeName

public static String getConnectionTypeName(int connectionType)
Convert connection type to connection type name

Parameters:
connectionType - connection type
Returns:
connection type name

getConnectionType

public static int getConnectionType(String connectionTypeName)
Convert name of connection type to connection type

Parameters:
connectionTypeName -
Returns:
connection type


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.