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)
           
 Map<Class<?>,Map<String,Source>> getRegistryClone()
           
 boolean unregister(Source source)
           
 
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

unregister

public boolean unregister(Source source)
Specified by:
unregister in interface SourceFactory

create

public Source create(String name,
                     String type)
              throws FlumeException
Specified by:
create in interface SourceFactory
Throws:
FlumeException

getRegistryClone

public Map<Class<?>,Map<String,Source>> getRegistryClone()


Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.