|
||||||||||
| 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.URLFactoryWrapper
public final class URLFactoryWrapper
This class wraps a Cocoon URLFactory and makes it usable within the Avalon Excalibur source resolving architecure. The main purpose is to avoid recoding existing factories.
| Field Summary |
|---|
| Fields inherited from interface org.apache.excalibur.source.SourceFactory |
|---|
ROLE |
| Constructor Summary | |
|---|---|
URLFactoryWrapper()
|
|
| Method Summary | |
|---|---|
void |
compose(ComponentManager manager)
Set the current ComponentManager instance used by this
Composable. |
void |
configure(Configuration conf)
Configure the SourceFactories |
void |
contextualize(Context context)
Get the context |
void |
dispose()
Dispose |
Source |
getSource(String location,
Map parameters)
Get a Source object. |
void |
release(Source source)
Release a Source 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 |
| Constructor Detail |
|---|
public URLFactoryWrapper()
| Method Detail |
|---|
public void configure(Configuration conf)
throws ConfigurationException
configure in interface ConfigurableConfigurationException
public void contextualize(Context context)
throws ContextException
contextualize in interface ContextualizableContextException
public void compose(ComponentManager manager)
throws ComponentException
ComponentManager instance used by this
Composable.
compose in interface ComposableComponentExceptionpublic void dispose()
dispose in interface Disposable
public Source getSource(String location,
Map parameters)
throws MalformedURLException,
IOException
Source object.
getSource in interface SourceFactoryparameters - This is optional.
MalformedURLException
IOExceptionpublic void release(Source source)
Source object.
release in interface SourceFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||