|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dynalivery.saffron.client.ServerType
This class defines the allowable Saffron server types.
| Field Summary | |
static int |
CORBA
a CORBA Saffron server |
static int |
EJB
an EJB Saffron server |
static int |
EMBEDDED
an embedded (in-process) Saffron server |
protected static java.lang.String[] |
typeStrings
|
| Constructor Summary | |
ServerType()
|
|
| Method Summary | |
static int |
getTypeForString(java.lang.String serverTypeString)
Returns the integer server type for the specified String |
static java.lang.String |
getTypeString(int serverType)
Returns a descriptive String for the specified server type |
static void |
validate(int serverType)
Validates the specified integer server type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int EMBEDDED
public static final int CORBA
public static final int EJB
protected static final java.lang.String[] typeStrings
| Constructor Detail |
public ServerType()
| Method Detail |
public static void validate(int serverType)
throws InvalidParameterException
serverType - the integer server type (e.g. ServerType.EMBEDDED)
InvalidParameterException - thrown if server type is invalid
public static int getTypeForString(java.lang.String serverTypeString)
throws InvalidParameterException
serverTypeString - a server type string, case is ignored
(e.g. EMBEDDED, embedded and Embedded are all acceptable)
InvalidParameterException - thrown if no server type matches specified string
public static java.lang.String getTypeString(int serverType)
throws InvalidParameterException
serverType - an integer server type (e.g. ServerType.EMBEDDED)
InvalidParameterException - thrown if server type is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||