org.apache.flume.source
Class DefaultSourceFactory
java.lang.Object
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:
create
in interface SourceFactory
- Throws:
FlumeException
getClass
public Class<? extends Source> getClass(String type)
throws FlumeException
- Specified by:
getClass
in interface SourceFactory
- Throws:
FlumeException
Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.