Package org.apache.storm.utils
Class DefaultShellLogHandler
java.lang.Object
org.apache.storm.utils.DefaultShellLogHandler
- All Implemented Interfaces:
- ShellLogHandler
Default implementation of 
ShellLogHandler.- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructor; used when loading with Class.forName(...).newInstance().
- 
Method SummaryModifier and TypeMethodDescriptionvoidLog the given message.voidsetUpContext(Class<?> ownerCls, ShellProcess process, TopologyContext context) This default implementation saves theShellProcessso it can output the process info string later.
- 
Constructor Details- 
DefaultShellLogHandlerpublic DefaultShellLogHandler()Default constructor; used when loading with Class.forName(...).newInstance().
 
- 
- 
Method Details- 
setUpContextThis default implementation saves theShellProcessso it can output the process info string later.- Specified by:
- setUpContextin interface- ShellLogHandler
- Parameters:
- ownerCls- - the class which instantiated this ShellLogHandler.
- process- - the current- ShellProcess.
- context- - the current- TopologyContext.
 
- 
logLog the given message.- Specified by:
- login interface- ShellLogHandler
- Parameters:
- shellMsg- - the- ShellMsgto log.
 
 
-