org.apache.james.protocols.smtp.core
Class DataLineMessageHookHandler

java.lang.Object
  extended by org.apache.james.protocols.smtp.core.DataLineMessageHookHandler
All Implemented Interfaces:
ExtensibleHandler, DataLineFilter

public final class DataLineMessageHookHandler
extends java.lang.Object
implements DataLineFilter, ExtensibleHandler


Constructor Summary
DataLineMessageHookHandler()
           
 
Method Summary
 java.util.List<java.lang.Class<?>> getMarkerInterfaces()
           
 void onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
          Handle line processing
 void wireExtensions(java.lang.Class interfaceName, java.util.List extension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataLineMessageHookHandler

public DataLineMessageHookHandler()
Method Detail

onLine

public void onLine(SMTPSession session,
                   byte[] line,
                   LineHandler<SMTPSession> next)
Description copied from interface: DataLineFilter
Handle line processing

Specified by:
onLine in interface DataLineFilter

wireExtensions

public void wireExtensions(java.lang.Class interfaceName,
                           java.util.List extension)
                    throws WiringException
Specified by:
wireExtensions in interface ExtensibleHandler
Throws:
WiringException
See Also:
ExtensibleHandler.wireExtensions(java.lang.Class, java.util.List)

getMarkerInterfaces

public java.util.List<java.lang.Class<?>> getMarkerInterfaces()
Specified by:
getMarkerInterfaces in interface ExtensibleHandler
See Also:
ExtensibleHandler.getMarkerInterfaces()


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.