org.inspektr.common.spi.support
Class DefaultClientInfoResolver
java.lang.Object
org.inspektr.common.spi.support.DefaultClientInfoResolver
- All Implemented Interfaces:
- ClientInfoResolver
public final class DefaultClientInfoResolver
- extends Object
- implements ClientInfoResolver
Default implementation that gets it from the ThreadLocal.
- Since:
- 1.0
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
Method Summary |
ClientInfo |
resolveFrom(org.aspectj.lang.JoinPoint joinPoint,
Object retVal)
Resolve the ClientInfo from the provided arguments and return value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultClientInfoResolver
public DefaultClientInfoResolver()
resolveFrom
public ClientInfo resolveFrom(org.aspectj.lang.JoinPoint joinPoint,
Object retVal)
- Description copied from interface:
ClientInfoResolver
- Resolve the ClientInfo from the provided arguments and return value.
- Specified by:
resolveFrom
in interface ClientInfoResolver
- Parameters:
joinPoint
- the point where the join occurred.retVal
- the return value from the method call.
- Returns:
- the constructed ClientInfo object. Should never return null!
Copyright © 2007-2012. All Rights Reserved.