|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ClassFactoryImpl
org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.datasource.AbstractDataSourceFactory
public abstract class AbstractDataSourceFactory
A base class for implementing the DataSourceFactory
interface.
Method Summary | |
---|---|
ObjectDescription |
getDataSourceDescription(String name)
Returns a data source description. |
String |
getDataSourceName(ObjectDescription od)
Returns a data source name given a description. |
Iterator |
getRegisteredNames()
Returns the names of all registered datasources as iterator. |
void |
registerDataSources(String name,
ObjectDescription o)
Registers a data source. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ClassFactoryImpl |
---|
configure, equals, getComparator, getConfig, getDescriptionForClass, getRegisteredClasses, getSuperClassObjectDescription, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ClassFactory |
---|
configure, equals, getDescriptionForClass, getRegisteredClasses, getSuperClassObjectDescription, hashCode |
Method Detail |
---|
public void registerDataSources(String name, ObjectDescription o)
name
- the name.o
- the object description.public ObjectDescription getDataSourceDescription(String name)
getDataSourceDescription
in interface DataSourceFactory
name
- the data source name.
public String getDataSourceName(ObjectDescription od)
getDataSourceName
in interface DataSourceFactory
od
- the object description.
public Iterator getRegisteredNames()
getRegisteredNames
in interface DataSourceFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |