public class TraceLogProxyFactory extends Object
| Constructor and Description |
|---|
TraceLogProxyFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getProxyFor(Class<T> target)
Get a proxy for a class.
|
static <T> T |
getProxyFor(Traceable<T> target)
Used if an object instance exists, and it is desired to be proxied for tracing.
|
public static <T> T getProxyFor(Class<T> target)
is an instance of Traceable. If it is not, then
a new instance is returned.T - target - Class to proxyclazz is assignable from Traceable; otherwise, just a new instance.public static <T> T getProxyFor(Traceable<T> target)
Traceable. If the object's class does not implement Traceable, this method cannot be called.T - source - Copyright © 2013 The Kuali Foundation. All Rights Reserved.