public class JdbcAspect extends Object
| Constructor and Description |
|---|
JdbcAspect(boolean withActiveSpanOnly,
Set<String> ignoredStatements) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getConnection(org.aspectj.lang.ProceedingJoinPoint pjp)
Intercepts calls to
DataSource.getConnection() (and related), wrapping the outcome in a
TracingConnection |
public Object getConnection(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
DataSource.getConnection() (and related), wrapping the outcome in a
TracingConnectionpjp - the intercepted join pointTracingConnection wrapping the result of the joint pointThrowable - in case of wrong JDBC URLCopyright © 2017–2018. All rights reserved.