private void configureAdapter(PersistenceAdapter adapter) { // need a per store factory that will put the store in the branch qualifier to disiambiguate xid mbeans ((TransactionIdTransformerAware)adapter).setTransactionIdTransformer(transactionIdTransformer); if (isUseLock()) { if( adapter instanceof Lockable ) { ((Lockable)adapter).setUseLock(false); } } if( adapter instanceof BrokerServiceAware ) { ((BrokerServiceAware)adapter).setBrokerService(getBrokerService()); } }
private void configureAdapter(PersistenceAdapter adapter) { // need a per store factory that will put the store in the branch qualifier to disiambiguate xid mbeans ((TransactionIdTransformerAware)adapter).setTransactionIdTransformer(transactionIdTransformer); if (isUseLock()) { if( adapter instanceof Lockable ) { ((Lockable)adapter).setUseLock(false); } } if( adapter instanceof BrokerServiceAware ) { ((BrokerServiceAware)adapter).setBrokerService(getBrokerService()); } }
private void configureAdapter(PersistenceAdapter adapter) { // need a per store factory that will put the store in the branch qualifier to disiambiguate xid mbeans ((TransactionIdTransformerAware)adapter).setTransactionIdTransformer(transactionIdTransformer); if (isUseLock()) { if( adapter instanceof Lockable ) { ((Lockable)adapter).setUseLock(false); } } if( adapter instanceof BrokerServiceAware ) { ((BrokerServiceAware)adapter).setBrokerService(getBrokerService()); } }
private void configureAdapter(PersistenceAdapter adapter) { // need a per store factory that will put the store in the branch qualifier to disiambiguate xid mbeans ((TransactionIdTransformerAware)adapter).setTransactionIdTransformer(transactionIdTransformer); if (isUseLock()) { if( adapter instanceof Lockable ) { ((Lockable)adapter).setUseLock(false); } } if( adapter instanceof BrokerServiceAware ) { ((BrokerServiceAware)adapter).setBrokerService(getBrokerService()); } }