|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.admin.objects.MMAdminObject
com.metamatrix.admin.objects.MMService
public class MMService
A Service
| Field Summary |
|---|
| Fields inherited from class com.metamatrix.admin.objects.MMAdminObject |
|---|
deployed, enabled, identifier, identifierParts, name, registered |
| Fields inherited from interface com.metamatrix.admin.api.Service |
|---|
STATE_CLOSED, STATE_DATA_SOURCE_UNAVAILABLE, STATE_FAILED, STATE_INIT_FAILED, STATE_NOT_DEPLOYED, STATE_NOT_INITIALIZED, STATE_NOT_REGISTERED, STATE_OPEN |
| Fields inherited from interface org.teiid.adminapi.AdminObject |
|---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
| Constructor Summary | |
|---|---|
MMService(java.lang.String[] identifierParts)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getComponentTypeName()
Get the component type identifier for this service ComponentType. |
java.lang.String |
getDescription()
Returns the description |
java.lang.String |
getHostName()
|
java.lang.String |
getProcessName()
|
long |
getServiceID()
|
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. |
void |
setComponentTypeName(java.lang.String componentTypeName)
|
void |
setDescription(java.lang.String description)
Set the description |
void |
setServiceID(long serviceID)
|
void |
setState(int state)
Set the state |
void |
setStateChangedTime(java.util.Date stateChangedTime)
Set the state changed time |
java.lang.String |
toString()
Get MetaMatrix Object as a String |
| Methods inherited from class com.metamatrix.admin.objects.MMAdminObject |
|---|
buildIdentifier, buildIdentifierArray, buildIdentifierList, getCreated, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isEnabled, isRegistered, setCreated, setCreatedBy, setEnabled, setIdentifier, setLastUpdated, setLastUpdatedBy, setProperties, setRegistered |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.teiid.adminapi.AdminObject |
|---|
getIdentifier, getName, getProperties, getPropertyValue |
| Constructor Detail |
|---|
public MMService(java.lang.String[] identifierParts)
identifierParts - | Method Detail |
|---|
public java.lang.String toString()
MMAdminObject
toString in class MMAdminObjectObject.toString()public java.lang.String getDescription()
getDescription in interface Servicepublic void setDescription(java.lang.String description)
description - public int getState()
ServiceDQP.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.
getState in interface Servicepublic java.lang.String getStateAsString()
ServiceString.
getStateAsString in interface Servicepublic void setState(int state)
state - public java.util.Date getStateChangedTime()
Service
getStateChangedTime in interface Servicepublic void setStateChangedTime(java.util.Date stateChangedTime)
stateChangedTime - public long getServiceID()
public void setServiceID(long serviceID)
serviceID - The serviceID to set.public java.lang.String getProcessName()
public java.lang.String getHostName()
public void setComponentTypeName(java.lang.String componentTypeName)
connectorTypeName - the identifier for a connector typepublic java.lang.String getComponentTypeName()
ServiceComponentType.
getComponentTypeName in interface ServiceService.getComponentTypeName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||