public class DiscoverCommand extends SQLCommand
DISCOVER [TASK task_code]|[JMS]|[SOAP]|[SSO]Usage
/* gets the jms provider and context */ DISCOVER JMS /* gets the jms info and the task parameters */ DISCOVER TASK task_code /* gets the SOAP URLs */ DISCOVER SOAP /* gets the SSO protected URL */ DISCOVER SSOTHREAD MODE: SINGLE THREADED command
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_JMS
Discover JMS info
|
static java.lang.String |
TYPE_SOAP
Discover SOAP info
|
static java.lang.String |
TYPE_SSO
Discover SSO info
|
CURSOR_SIZE
Constructor and Description |
---|
DiscoverCommand(Connection connection,
Pattern pattern)
Creates a new discover command with the given connection
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(Parser parser)
Executes the command.
|
java.lang.String |
getColumnName(int column)
Gets the column name for the given column index, starting at one
|
java.lang.String |
getColumnType(int column)
Gets the column type for the given column index, starting at one
|
java.lang.String |
getRecordID(int row)
Gets the record id for the given row index, starting at one
|
java.lang.Object |
getValue(int row,
int column)
Gets the cell value for the given row and column index, indexes starts at one
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnly
execute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRawTitle
public static final java.lang.String TYPE_JMS
public static final java.lang.String TYPE_SSO
public static final java.lang.String TYPE_SOAP
public DiscoverCommand(Connection connection, Pattern pattern)
connection
- the connectionpattern
- the command patternprotected void execute(Parser parser) throws java.lang.Exception
public java.lang.String getColumnName(int column)
column
- the column indexpublic java.lang.String getColumnType(int column) throws java.lang.Exception
column
- the column indexjava.lang.Exception
- a serious problempublic java.lang.String getRecordID(int row)
row
- the row indexpublic java.lang.Object getValue(int row, int column) throws java.lang.Exception
row
- the row indexcolumn
- the column indexjava.lang.Exception
- a failure to get the cell valuestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.