org.apache.flume.source
Class DefaultSourceFactory
java.lang.Object
   org.apache.flume.source.DefaultSourceFactory
org.apache.flume.source.DefaultSourceFactory
- All Implemented Interfaces: 
- SourceFactory
- public class DefaultSourceFactory 
- extends Object- implements SourceFactory
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultSourceFactory
public DefaultSourceFactory()
create
public Source create(String name,
                     String type)
              throws FlumeException
- 
- Specified by:
- createin interface- SourceFactory
 
- 
- Throws:
- FlumeException
 
getClass
public Class<? extends Source> getClass(String type)
                                 throws FlumeException
- 
- Specified by:
- getClassin interface- SourceFactory
 
- 
- Throws:
- FlumeException
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.