S
- public abstract class AbstractLineHandlerResultJMXMonitor<R extends org.apache.james.protocols.api.Response,S extends org.apache.james.protocols.api.ProtocolSession> extends Object implements org.apache.james.protocols.api.handler.ProtocolHandlerResultHandler<R,S>, org.apache.james.protocols.api.handler.ExtensibleHandler, InitializingLifecycleAwareProtocolHandler
LineHandler
'sConstructor and Description |
---|
AbstractLineHandlerResultJMXMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected abstract String |
getDefaultJMXName()
Return default JMX Name if none is configured
|
List<Class<?>> |
getMarkerInterfaces() |
void |
init(org.apache.commons.configuration.Configuration config)
Init with the given
Configuration |
org.apache.james.protocols.api.Response |
onResponse(org.apache.james.protocols.api.ProtocolSession session,
org.apache.james.protocols.api.Response response,
long executionTime,
org.apache.james.protocols.api.handler.ProtocolHandler handler) |
void |
wireExtensions(Class<?> interfaceName,
List<?> extension) |
public org.apache.james.protocols.api.Response onResponse(org.apache.james.protocols.api.ProtocolSession session, org.apache.james.protocols.api.Response response, long executionTime, org.apache.james.protocols.api.handler.ProtocolHandler handler)
onResponse
in interface org.apache.james.protocols.api.handler.ProtocolHandlerResultHandler<R extends org.apache.james.protocols.api.Response,S extends org.apache.james.protocols.api.ProtocolSession>
#onResponse(org.apache.james.protocols.api.ProtocolSession, longlong,
org.apache.james.protocols.api.handler.ProtocolHandler)
public List<Class<?>> getMarkerInterfaces()
getMarkerInterfaces
in interface org.apache.james.protocols.api.handler.ExtensibleHandler
ExtensibleHandler.getMarkerInterfaces()
public void wireExtensions(Class<?> interfaceName, List<?> extension) throws org.apache.james.protocols.api.handler.WiringException
wireExtensions
in interface org.apache.james.protocols.api.handler.ExtensibleHandler
org.apache.james.protocols.api.handler.WiringException
ExtensibleHandler.wireExtensions(java.lang.Class, java.util.List)
public void init(org.apache.commons.configuration.Configuration config) throws org.apache.commons.configuration.ConfigurationException
InitializingLifecycleAwareProtocolHandler
Configuration
init
in interface InitializingLifecycleAwareProtocolHandler
org.apache.commons.configuration.ConfigurationException
public void destroy()
destroy
in interface org.apache.james.protocols.api.handler.LifecycleAwareProtocolHandler
protected abstract String getDefaultJMXName()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.