com.jamonapi.proxy
Class MonProxyFactory
java.lang.Object
com.jamonapi.proxy.MonProxyFactory
public class MonProxyFactory
- extends java.lang.Object
This static MonProxyFactory simply uses an instance of MonProxyFactoryImp to do its work. MonProxyFactoryImp can also be
created in its own right directly. See its java docs for further info.
Mainly kept this class for backwards compatibility reasons.
- Author:
- steve souza
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonProxyFactory
public MonProxyFactory()
setLabelFactory
public static void setLabelFactory(MonProxyLabelerInt factory)
getLabelFactory
public static MonProxyLabelerInt getLabelFactory()
getMonProxy
public static MonProxy getMonProxy(java.lang.reflect.Proxy proxy)
monitor
public static java.lang.Object monitor(java.lang.Object object)
monitor
public static java.lang.Object monitor(java.lang.Object object,
java.lang.Class[] interfaces)
monitor
public static java.lang.Object monitor(java.lang.Object object,
java.lang.Class iface)
monitor
public static java.sql.Connection monitor(java.sql.Connection conn)
monitor
public static java.sql.ResultSet monitor(java.sql.ResultSet rs)
monitor
public static java.sql.Statement monitor(java.sql.Statement statement)
monitor
public static java.sql.PreparedStatement monitor(java.sql.PreparedStatement statement)
monitor
public static java.sql.CallableStatement monitor(java.sql.CallableStatement statement)
getInterfaces
public static java.lang.Class[] getInterfaces(java.lang.Class cls)
getExceptionBufferSize
public static int getExceptionBufferSize()
setExceptionBufferSize
public static void setExceptionBufferSize(int exceptionBufferSize)
resetExceptionDetail
public static void resetExceptionDetail()
isInterfaceEnabled
public static boolean isInterfaceEnabled()
enableInterface
public static void enableInterface(boolean enable)
isExceptionSummaryEnabled
public static boolean isExceptionSummaryEnabled()
enableExceptionSummary
public static void enableExceptionSummary(boolean enable)
isExceptionDetailEnabled
public static boolean isExceptionDetailEnabled()
enableExceptionDetail
public static void enableExceptionDetail(boolean enable)
isSQLSummaryEnabled
public static boolean isSQLSummaryEnabled()
enableSQLSummary
public static void enableSQLSummary(boolean enable)
isSQLDetailEnabled
public static boolean isSQLDetailEnabled()
enableSQLDetail
public static void enableSQLDetail(boolean enable)
isResultSetEnabled
public static boolean isResultSetEnabled()
enableResultSet
public static void enableResultSet(boolean enable)
isEnabled
public static boolean isEnabled()
enableAll
public static void enableAll(boolean enable)
isAllEnabled
public static boolean isAllEnabled()
enable
public static void enable(boolean enable)
getExceptionDetailHeader
public static java.lang.String[] getExceptionDetailHeader()
getExceptionDetail
public static java.lang.Object[][] getExceptionDetail()
getSQLBufferSize
public static int getSQLBufferSize()
setSQLBufferSize
public static void setSQLBufferSize(int sqlBufferSize)
resetSQLDetail
public static void resetSQLDetail()
getSQLDetailHeader
public static java.lang.String[] getSQLDetailHeader()
getSQLDetail
public static java.lang.Object[][] getSQLDetail()
getMatchStrings
public static java.util.List getMatchStrings()
setMatchStrings
public static void setMatchStrings(java.util.List ms)