|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.anneck.jcast.sources.SourceThreadFactory
This Factory creates SourceThreads.
Method Summary | |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Configuration for the ThreadFactory. |
void |
configureThread(org.apache.avalon.framework.configuration.Configuration configuration)
Configuration for the created Thread. |
java.lang.Object |
create(org.apache.avalon.framework.configuration.Configuration conf,
IChannel aChannel)
Creates a SourceThread into an existing Channel. |
java.lang.Object |
create(java.lang.String sourceThreadName)
Creates a SourceThread |
java.lang.Object |
create(java.lang.String sourceThreadName,
IChannel aChannel)
Creates a SourceThread into an existing ChannelThread |
static SourceThreadFactory |
getInstance()
Access to singleton via getInstance method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static SourceThreadFactory getInstance()
public java.lang.Object create(org.apache.avalon.framework.configuration.Configuration conf, IChannel aChannel) throws JCastException, org.apache.avalon.framework.configuration.ConfigurationException
conf
- Configuration object with ISourceThread
.public java.lang.Object create(java.lang.String sourceThreadName)
sourceThreadName
- The name.ISourceThread
.public java.lang.Object create(java.lang.String sourceThreadName, IChannel aChannel) throws JCastException
sourceThreadName
- The name.aChannelThread
- A IChannelThread
.ISourceThread
.public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
configuration
- The configuration object.org.apache.avalon.framework.configuration.ConfigurationException
- Error during configuration.public void configureThread(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configuration
- The configuration object.org.apache.avalon.framework.configuration.ConfigurationException
- Error during configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |