Search in sources :

Example 1 with JavaEETransactionManagerSimplifiedDelegate

use of com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate in project Payara by payara.

the class AppTest method testReplaceDelegate.

/**
 * Test that you can't replace delegate with a lower order.
 */
public void testReplaceDelegate() {
    JavaEETransactionManagerDelegate d = new JavaEETransactionManagerSimplifiedDelegate();
    t.setDelegate(d);
    assertFalse(((JavaEETransactionManagerSimplified) t).isDelegate(d));
}
Also used : JavaEETransactionManagerDelegate(com.sun.enterprise.transaction.spi.JavaEETransactionManagerDelegate) JavaEETransactionManagerSimplifiedDelegate(com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate)

Aggregations

JavaEETransactionManagerSimplifiedDelegate (com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate)1 JavaEETransactionManagerDelegate (com.sun.enterprise.transaction.spi.JavaEETransactionManagerDelegate)1