|
||||||||||
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.excalibur.source.impl.HTTPClientSourceFactory
public class HTTPClientSourceFactory
HTTPClientSource
Factory class.
Field Summary |
---|
Fields inherited from interface org.apache.excalibur.source.SourceFactory |
---|
ROLE |
Constructor Summary | |
---|---|
HTTPClientSourceFactory()
|
Method Summary | |
---|---|
Source |
getSource(java.lang.String uri,
java.util.Map sourceParams)
Creates a HTTPClientSource instance. |
void |
parameterize(Parameters params)
Parameterize this SourceFactory . |
void |
release(Source source)
Releases the given 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 HTTPClientSourceFactory()
Method Detail |
---|
public Source getSource(java.lang.String uri, java.util.Map sourceParams) throws java.net.MalformedURLException, java.io.IOException
HTTPClientSource
instance.
getSource
in interface SourceFactory
uri
- The URI to resolve - this URI includes the scheme.sourceParams
- additionnal named parameters (optionnal and can be null
)
that drive the creation of the Source
object. Each implementation
must specify what parameters it accepts.
java.io.IOException
- if the source couldn't be created for some reason.
java.net.MalformedURLException
public void parameterize(Parameters params) throws ParameterException
SourceFactory
.
parameterize
in interface Parameterizable
params
- Parameters
instance
ParameterException
- if an error occurspublic void release(Source source)
Source
object.
release
in interface SourceFactory
source
- Source
object to be released
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |