|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorBinding
Represents a connector binding (the instance of a connector type) in the MetaMatrix system.
The unique identifier pattern is [host]<AdminObject.DELIMITER
>[process]<AdminObject.DELIMITER
>[Connector Binding Name]
when running against a MetaMatrix server. The [Connector Binding Name] can itself have spaces in the name.
In the case of the MM Query, the [host] and [process] do not apply as MM Query is always local.
Field Summary | |
---|---|
static java.lang.String |
PASSWORD
Password connector property name |
static int |
STATE_CLOSED
Registered but closed |
static int |
STATE_DATA_SOURCE_UNAVAILABLE
Running, but the underlying data source is unavailable |
static int |
STATE_FAILED
Failed after running successfully |
static int |
STATE_FAILED_TO_CHECK
failed to check the status |
static int |
STATE_INIT_FAILED
Failed during initialization |
static int |
STATE_NOT_DEPLOYED
Running, not deployed |
static int |
STATE_NOT_INITIALIZED
Registered by not initialized |
static int |
STATE_NOT_REGISTERED
Not registered |
static int |
STATE_OPEN
Open and running |
Fields inherited from interface org.teiid.adminapi.AdminObject |
---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
Method Summary | |
---|---|
java.lang.String |
getConnectorTypeName()
Get the identifier for this connector binding's ConnectorType . |
java.lang.String |
getDescription()
Returns the description |
int |
getState()
Retrieve the current connector state. |
java.lang.String |
getStateAsString()
Retrieve the current connector state as a printable String . |
java.util.Date |
getStateChangedTime()
Returns time of last state change. |
Methods inherited from interface org.teiid.adminapi.AdminObject |
---|
getIdentifier, getName, getProperties, getPropertyValue |
Field Detail |
---|
static final int STATE_NOT_INITIALIZED
static final int STATE_OPEN
static final int STATE_CLOSED
static final int STATE_FAILED
static final int STATE_INIT_FAILED
static final int STATE_NOT_REGISTERED
static final int STATE_DATA_SOURCE_UNAVAILABLE
static final int STATE_NOT_DEPLOYED
static final int STATE_FAILED_TO_CHECK
static final java.lang.String PASSWORD
Method Detail |
---|
int getState()
DQP.STATE_OPEN
.
DQP.STATE_NOT_INITIALIZED
.
DQP.STATE_CLOSED
.
DQP.STATE_FAILED
.
DQP.STATE_INIT_FAILED
.
DQP.STATE_NOT_REGISTERED
.
DQP.STATE_DATA_SOURCE_UNAVAILABLE
.
DQP.STATE_NOT_DEPLOYED
.
java.lang.String getStateAsString()
String
.
java.util.Date getStateChangedTime()
java.lang.String getDescription()
java.lang.String getConnectorTypeName()
ConnectorType
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |