@SuppressWarnings("resource") @Test public void testNewWriteOnlyTransaction() { DOMStoreTransaction dst = new TransactionChainProxy(mockComponentFactory, historyId).newWriteOnlyTransaction(); Assert.assertTrue(dst instanceof DOMStoreWriteTransaction); }
@Override public DOMStoreWriteTransaction newWriteOnlyTransaction() { getActorUtils().acquireTxCreationPermit(); return allocateWriteTransaction(TransactionType.WRITE_ONLY); }
TransactionChainProxy extends AbstractTransactionContextFactory<LocalTransactionChain> implements DOMStoreTransactionChain { @Override public DOMStoreWriteTransaction newWriteOnlyTransaction() { getActorUtils().acquireTxCreationPermit(); return allocateWriteTransaction(TransactionType.WRITE_ONLY); } }
TransactionChainProxy extends AbstractTransactionContextFactory<LocalTransactionChain> implements DOMStoreTransactionChain { @Override public DOMStoreWriteTransaction newWriteOnlyTransaction() { getActorUtils().acquireTxCreationPermit(); return allocateWriteTransaction(TransactionType.WRITE_ONLY); } TransactionChainProxy(final TransactionContextFactory parent, final LocalHistoryIdentifier historyId); }
TransactionChainProxy extends AbstractTransactionContextFactory<LocalTransactionChain> implements DOMStoreTransactionChain { @Override public DOMStoreWriteTransaction newWriteOnlyTransaction() { getActorUtils().acquireTxCreationPermit(); return allocateWriteTransaction(TransactionType.WRITE_ONLY); } TransactionChainProxy(final TransactionContextFactory parent, final LocalHistoryIdentifier historyId); @Override DOMStoreReadTransaction newReadOnlyTransaction(); @Override DOMStoreReadWriteTransaction newReadWriteTransaction(); @Override DOMStoreWriteTransaction newWriteOnlyTransaction(); @Override void close(); }
TransactionChainProxy extends AbstractTransactionContextFactory<LocalTransactionChain> implements DOMStoreTransactionChain { @Override public DOMStoreWriteTransaction newWriteOnlyTransaction() { getActorUtils().acquireTxCreationPermit(); return allocateWriteTransaction(TransactionType.WRITE_ONLY); } TransactionChainProxy(final TransactionContextFactory parent, final LocalHistoryIdentifier historyId); @Override DOMStoreReadTransaction newReadOnlyTransaction(); @Override DOMStoreReadWriteTransaction newReadWriteTransaction(); @Override DOMStoreWriteTransaction newWriteOnlyTransaction(); @Override void close();  }