public class ConnectionType
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static ConnectionType |
EJB
A constant representing the
ConnectionType for the
EJB transport. |
static int |
EJB_AS_INT
An
int value associated with the EJB instance
of this class. |
static ConnectionType |
SOAP
A constant representing the
ConnectionType for the
SOAP transport. |
static int |
SOAP_AS_INT
An
int value associated with the SOAP instance
of this class. |
Modifier and Type | Method and Description |
---|---|
static ConnectionType |
getInstanceFromInt(int value)
Gets the object instance from its associated integer value (see the *_AS_INT
constants in this class).
|
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this instance. |
public static final int EJB_AS_INT
int
value associated with the EJB
instance
of this class. It is better to use the static instances of this class
than to use the associated int
values. The int
values risk binary incompatibility (but not source incompatibility) from
release to release.public static final ConnectionType EJB
ConnectionType
for the
EJB transport.public static final int SOAP_AS_INT
int
value associated with the SOAP
instance
of this class. It is better to use the static instances of this class
than to use the associated int
values. The int
values risk binary incompatibility (but not source incompatibility) from
release to release.public static final ConnectionType SOAP
ConnectionType
for the
SOAP transport.public int getValue()
public static ConnectionType getInstanceFromInt(int value)
value
- An integer associated with a particular instance of this class.EngineRuntimeException
- when the parameter is null
or otherwise invalid.public java.lang.String toString()
String
representation of this instance.toString
in class java.lang.Object
String
representing the instance.© Copyright IBM Corporation 2006, 2015. All rights reserved.