|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.source.impl.XMLDBSourceFactory
This class implements the xmldb:// pseudo-protocol and allows to get XML content from an XML:DB enabled XML database.
| Field Summary | |
protected Context |
context
The avalon context |
protected HashMap |
credentialMap
A Map containing the authentication credentials |
protected ServiceManager |
m_manager
The ServiceManager instance |
| Fields inherited from interface org.apache.excalibur.source.SourceFactory |
ROLE |
| Constructor Summary | |
XMLDBSourceFactory()
|
|
| Method Summary | |
void |
configure(Configuration conf)
Configure the instance and initialize XML:DB connections (load and register the drivers). |
void |
contextualize(Context context)
|
Source |
getSource(String location,
Map parameters)
Resolve the source |
void |
release(Source source)
|
void |
service(ServiceManager cm)
Compose this Serviceable object. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ServiceManager m_manager
protected HashMap credentialMap
protected Context context
| Constructor Detail |
public XMLDBSourceFactory()
| Method Detail |
public void contextualize(Context context)
throws ContextException
contextualize in interface ContextualizableContextException
public void configure(Configuration conf)
throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic void service(ServiceManager cm)
service in interface Serviceable
public Source getSource(String location,
Map parameters)
throws MalformedURLException,
IOException
getSource in interface SourceFactoryMalformedURLException
IOExceptionpublic void release(Source source)
release in interface SourceFactory
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||