|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jmscts.core.ConnectionFactoryTypes
Helper class used to indicate what JMS connection factory types to run a particular test case against
ConnectionFactoryTestCase,
ProviderTestRunner| Field Summary | |
static ConnectionFactoryTypes |
ALL
All connection factory types |
static ConnectionFactoryTypes |
ALL_QUEUE
All queue connection factory types |
static ConnectionFactoryTypes |
ALL_TOPIC
All topic connection factory types |
static ConnectionFactoryTypes |
QUEUE
Queue connection factory |
static ConnectionFactoryTypes |
TOPIC
Topic connection factory |
static java.lang.Class[] |
TYPES
The available connection factory types. |
static ConnectionFactoryTypes |
XAQUEUE
XA queue connection factory |
static ConnectionFactoryTypes |
XATOPIC
XA topic connection factory |
| Method Summary | |
int |
count()
Return a count of the connection factory types |
static ConnectionFactoryTypes |
fromString(java.lang.String name)
Helper to convert a factory name to a ConnectionFactoryTypes instance |
static ConnectionFactoryTypes |
fromString(java.lang.String[] names)
Helper to convert a set of factory names to a ConnectionFactoryTypes instance |
static java.lang.Class |
getType(javax.jms.ConnectionFactory factory)
Helper to return the type that a particular factory implements |
java.lang.Class[] |
getTypes()
Return the list of connection factory types to test against |
java.lang.String |
toString()
Returns a stringified version of this, for debugging purposes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final ConnectionFactoryTypes QUEUE
public static final ConnectionFactoryTypes TOPIC
public static final ConnectionFactoryTypes XAQUEUE
public static final ConnectionFactoryTypes XATOPIC
public static final ConnectionFactoryTypes ALL_QUEUE
public static final ConnectionFactoryTypes ALL_TOPIC
public static final ConnectionFactoryTypes ALL
public static final java.lang.Class[] TYPES
| Method Detail |
public java.lang.Class[] getTypes()
public java.lang.String toString()
toString in class java.lang.Objectpublic int count()
public static java.lang.Class getType(javax.jms.ConnectionFactory factory)
factory - the connection factorypublic static ConnectionFactoryTypes fromString(java.lang.String name)
ConnectionFactoryTypes instancename - the factory namename,
or null if name is invalidpublic static ConnectionFactoryTypes fromString(java.lang.String[] names)
ConnectionFactoryTypes instancenames - the factory namesnames,
or null if names is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||