S
- public abstract class AbstractConnectHandlerResultJMXMonitor<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
ConnectHandler
'sConstructor and Description |
---|
AbstractConnectHandlerResultJMXMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected abstract String |
getDefaultJMXName()
Return the default JMXName to use 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 AbstractConnectHandlerResultJMXMonitor()
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
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, long,
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)
protected abstract String getDefaultJMXName()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.