Class ConnectorStatus
java.lang.Object
com.sun.ts.tests.common.connector.util.ConnectorStatus
- All Implemented Interfaces:
- Log
Implementation class of Log interface, to be used as a verification mechanism for connector tests. This class is
 implemented as a Singleton. The TS whitebox resource adapter writes the log, and the TS test reads the log. The
 whitebox will return an instance of this log to the calling test.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ConnectorStatusSingleton accessorRetrieves the entire log as a StringRetrieves the entire log as a StringvoidAdds elements to the log.voidAdds elements to the State log.voidpurge()Purges the log storevoidPurges the log storevoidsetLogFlag(boolean b) Sets the logging to true/false
- 
Method Details- 
getConnectorStatusSingleton accessor
- 
logAPIAdds elements to the log. This is called by the Resource Adapter.
- 
logStateAdds elements to the State log. This is called by the Resource Adapter.
- 
purgepublic void purge()Purges the log store
- 
purgeStateLogpublic void purgeStateLog()Purges the log store
- 
getLogVectorRetrieves the entire log as a String- Specified by:
- getLogVectorin interface- Log
 
- 
getStateLogVectorRetrieves the entire log as a String
- 
setLogFlagpublic void setLogFlag(boolean b) Sets the logging to true/false- Specified by:
- setLogFlagin interface- Log
 
 
-