org.apache.flume.source
Class DefaultSourceFactory

java.lang.Object
  extended by org.apache.flume.source.DefaultSourceFactory
All Implemented Interfaces:
SourceFactory

public class DefaultSourceFactory
extends Object
implements SourceFactory


Constructor Summary
DefaultSourceFactory()
           
 
Method Summary
 Source create(String name, String type)
           
 Class<? extends Source> getClass(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSourceFactory

public DefaultSourceFactory()
Method Detail

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-2015 Apache Software Foundation. All Rights Reserved.