org.apache.hadoop.chukwa.datacollection.agent
Class AdaptorFactory
java.lang.Object
org.apache.hadoop.chukwa.datacollection.agent.AdaptorFactory
public class AdaptorFactory
- extends Object
Produces new unconfigured adaptors, given the class name of the appender type.
Will try the name both in the default package, and then with
'org.apache.hadoop.chukwa.datacollection.adaptor' prepended.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREPENDED_PACKAGE
public static final String PREPENDED_PACKAGE
- See Also:
- Constant Field Values
AdaptorFactory
public AdaptorFactory()
createAdaptor
public static Adaptor createAdaptor(String className)
- Instantiate an adaptor that can be added by the
ChukwaAgent
- Parameters:
className - the name of the Adaptor class to instantiate
- Returns:
- an Adaptor of the specified type
Copyright © ${year} The Apache Software Foundation