org.apache.flume
Interface SourceFactory

All Known Implementing Classes:
DefaultSourceFactory

public interface SourceFactory


Method Summary
 Source create(String sourceName)
           
 Set<String> getSourceNames()
           
 boolean register(String sourceName, Class<? extends Source> sourceClass)
           
 boolean unregister(String sourceName)
           
 

Method Detail

register

boolean register(String sourceName,
                 Class<? extends Source> sourceClass)

unregister

boolean unregister(String sourceName)

create

Source create(String sourceName)
              throws InstantiationException
Throws:
InstantiationException

getSourceNames

Set<String> getSourceNames()


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