org.inspektr.common.spi.support
Class DefaultClientInfoResolver

java.lang.Object
  extended by org.inspektr.common.spi.support.DefaultClientInfoResolver
All Implemented Interfaces:
ClientInfoResolver

public final class DefaultClientInfoResolver
extends java.lang.Object
implements ClientInfoResolver

Default implementation that gets it from the ThreadLocal.

Since:
1.0
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Constructor Summary
DefaultClientInfoResolver()
           
 
Method Summary
 ClientInfo resolveFrom(org.aspectj.lang.JoinPoint joinPoint, java.lang.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
 

Constructor Detail

DefaultClientInfoResolver

public DefaultClientInfoResolver()
Method Detail

resolveFrom

public ClientInfo resolveFrom(org.aspectj.lang.JoinPoint joinPoint,
                              java.lang.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.


Copyright © 2007-2011. All Rights Reserved.