|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cid.distribution.base.DistributionComponentBase org.cid.distribution.plugins.db.QueryDataComponent
public final class QueryDataComponent
Constructor Summary | |
---|---|
QueryDataComponent()
Class constructor. |
Method Summary | |
---|---|
static void |
addRules(org.apache.commons.digester.Digester d,
java.lang.String patternPrefix)
Configures additional rules for the commons-digester library. |
void |
destroy()
When destroyed, this component logs information about the process. |
ConnectionProvider |
getConnectionProvider()
|
DataEnumeration |
getData()
Returns a DataEnumeration from the query results. |
java.lang.String |
getQuery()
|
void |
init()
Initializes the ConnectionComponent. |
void |
setConnectionProvider(java.lang.String connectionProvider)
|
void |
setQuery(java.lang.String query)
|
Methods inherited from class org.cid.distribution.base.DistributionComponentBase |
---|
getId, setDistributionContext, setId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryDataComponent()
Method Detail |
---|
public static void addRules(org.apache.commons.digester.Digester d, java.lang.String patternPrefix)
public void init() throws DistributionProcessingException, DistributionConfigurationException
init
in interface DistributionComponent
init
in class DistributionComponentBase
DistributionProcessingException
DistributionConfigurationException
DistributionComponentBase.init()
public void destroy() throws DistributionProcessingException, DistributionConfigurationException
destroy
in interface DistributionComponent
destroy
in class DistributionComponentBase
DistributionProcessingException
DistributionConfigurationException
public java.lang.String getQuery()
public void setQuery(java.lang.String query)
query
- The query to set.public void setConnectionProvider(java.lang.String connectionProvider)
connection
- The connection to set.public ConnectionProvider getConnectionProvider()
public DataEnumeration getData() throws DistributionProcessingException
getData
in interface DataProvider
DistributionProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |