public class DefaultSourceFactory extends Object implements SourceFactory
Constructor and Description |
---|
DefaultSourceFactory() |
Modifier and Type | Method and Description |
---|---|
Source |
create(String name,
String type) |
Class<? extends Source> |
getClass(String type) |
public Source create(String name, String type) throws FlumeException
create
in interface SourceFactory
FlumeException
public Class<? extends Source> getClass(String type) throws FlumeException
getClass
in interface SourceFactory
FlumeException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.