public class XADataSourceInvocationHandler extends AbstractRootInvocationHandler<javax.sql.XADataSource>
AbstractInvocationHandler.SimpleInvokercluster, logger| Constructor and Description |
|---|
XADataSourceInvocationHandler(DatabaseCluster<javax.sql.XADataSource> databaseCluster) |
| Modifier and Type | Method and Description |
|---|---|
protected InvocationStrategy<javax.sql.XADataSource,javax.sql.XADataSource,?> |
getInvocationStrategy(javax.sql.XADataSource dataSource,
java.lang.reflect.Method method,
java.lang.Object[] parameters)
Returns the appropriate
InvocationStrategy for the specified method. |
close, createObject, getRootaddChild, detectClusterPanic, entries, entry, getDatabaseCluster, getInvoker, getObject, handleFailure, handleFailures, handlePartialFailure, invoke, isRecordable, isSQLMethod, postInvoke, record, removeChild, removeChildren, replay, retainpublic XADataSourceInvocationHandler(DatabaseCluster<javax.sql.XADataSource> databaseCluster)
databaseCluster - protected InvocationStrategy<javax.sql.XADataSource,javax.sql.XADataSource,?> getInvocationStrategy(javax.sql.XADataSource dataSource, java.lang.reflect.Method method, java.lang.Object[] parameters) throws java.lang.Exception
AbstractInvocationHandlerInvocationStrategy for the specified method.
This implementation detects Wrapper methods; and Object.equals(java.lang.Object), Object.hashCode(), and Object.toString().
Default invocation strategy is DatabaseWriteInvocationStrategy.getInvocationStrategy in class AbstractInvocationHandler<javax.sql.XADataSource,javax.sql.XADataSource>dataSource - the proxied objectmethod - the method to invokeparameters - the method invocation parametersjava.lang.Exception