public class SQLInterceptorSupport extends Object
SQLInterceptorFactory from this class name.
If all this fails it will use a NO-OP interceptor factory and hence do nothing.| Modifier and Type | Field and Description |
|---|---|
static String |
INTERCEPTOR_FACTORY_CLASS_NAME_KEY
The name of the ofbiz-database.properties key for
SQLInterceptorFactory |
| Constructor and Description |
|---|
SQLInterceptorSupport() |
| Modifier and Type | Method and Description |
|---|---|
static SQLConnectionInterceptor |
getNonNullSQLConnectionInterceptor(String ofbizHelperName)
This will return a NON NULL
SQLConnectionInterceptor. |
static SQLInterceptor |
getNonNullSQLInterceptor(String ofbizHelperName)
This will return a NON NULL SQLInterceptor.
|
public static final String INTERCEPTOR_FACTORY_CLASS_NAME_KEY
SQLInterceptorFactorypublic static SQLInterceptor getNonNullSQLInterceptor(String ofbizHelperName)
SQLInterceptorFactory
provided returns null, then a default NO-OP SQLInterceptor will
be returned.ofbizHelperName - the name of the GenericHelper in playSQLInterceptorpublic static SQLConnectionInterceptor getNonNullSQLConnectionInterceptor(String ofbizHelperName)
SQLConnectionInterceptor. If the SQLInterceptorFactory
provided returns null, then a default NO-OP SQLConnectionInterceptor will
be returned.ofbizHelperName - the name of the GenericHelper in playlSQLConnectionInterceptorCopyright © 2015 Atlassian. All rights reserved.