// userTx = new com.sun.jts.jta.UserTransactionImpl();
}
private void checkUserTransactionMethodAccess(ComponentInvocation inv)
throws IllegalStateException, SystemException {
TransactionOperationsManager toMgr =
(TransactionOperationsManager)inv.getTransactionOperationsManager();
if ( toMgr != null && checkEjbAccess ) {
if( !toMgr.userTransactionMethodsAllowed() ) {
throw new IllegalStateException(sm.getString("enterprise_distributedtx.operation_not_allowed"));
}
}
}