|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.jndi.interceptors.impl.AbsContextInterceptor
org.ow2.jonas.jndi.interceptors.impl.datasource.DataSourceLeakDetectorContextInterceptor
public class DataSourceLeakDetectorContextInterceptor
Context interceptor for Datasources.
| Constructor Summary | |
|---|---|
DataSourceLeakDetectorContextInterceptor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
intercept(org.ow2.carol.jndi.intercept.InterceptionContext context)
Intercept the lookup on the Datasources. |
boolean |
isForceClose()
|
void |
setForceClose(boolean forceClose)
Sets the flag for automatically closing or not the connection. |
| Methods inherited from class org.ow2.jonas.jndi.interceptors.impl.AbsContextInterceptor |
|---|
filterOnJndiName, filterOnMethodName, getJndiRegexp, getMethodsRegexp, getObjectName, getResourceCheckerManager, setJndiRegexp, setMethodsRegexp, setResourceCheckerManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceLeakDetectorContextInterceptor()
| Method Detail |
|---|
public java.lang.Object intercept(org.ow2.carol.jndi.intercept.InterceptionContext context)
throws java.lang.Exception
intercept in interface org.ow2.carol.jndi.intercept.ContextInterceptorcontext - the interception context with data
java.lang.Exception - if interception failspublic boolean isForceClose()
public void setForceClose(boolean forceClose)
forceClose - the given boolean value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||