org.jasig.portal.portlets.registerportal.data
Class DatabaseInfoCollector

java.lang.Object
  extended by org.jasig.portal.portlets.registerportal.data.DatabaseInfoCollector
All Implemented Interfaces:
IPortalDataCollector

public class DatabaseInfoCollector
extends Object
implements IPortalDataCollector

Gathers jdbc driver and database names and versions

Version:
$Revision: 19776 $
Author:
Eric Dalquist

Constructor Summary
DatabaseInfoCollector()
           
 
Method Summary
 Map<String,String> getData()
           
 String getKey()
          The key that identifies the data being retrieved.
 void setDatabaseMetadata(IDatabaseMetadata databaseMetadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseInfoCollector

public DatabaseInfoCollector()
Method Detail

setDatabaseMetadata

public void setDatabaseMetadata(IDatabaseMetadata databaseMetadata)
Parameters:
databaseMetadata - the databaseMetadata to set

getData

public Map<String,String> getData()
Specified by:
getData in interface IPortalDataCollector
Returns:
The data, current as of this call.

getKey

public String getKey()
Description copied from interface: IPortalDataCollector
The key that identifies the data being retrieved. Will never be null and must be immutable (subsiquent calls to the the method will always return the same key).

Specified by:
getKey in interface IPortalDataCollector
Returns:
The key that identifies the data being retrieved. Will never be null


Copyright © 2010 Jasig. All Rights Reserved.