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()
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.