public class TransactionContextImpl extends Object implements TransactionContext
TransactionContext
interface.Constructor and Description |
---|
TransactionContextImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getMap()
This method gets the
Map that allows to associate custom-data with
a transaction. |
boolean |
isEmpty()
|
public Map<String,Object> getMap()
Map
that allows to associate custom-data with
a transaction. qualified
class-names
of your custom code.getMap
in interface TransactionContext
Map
for custom-data.public boolean isEmpty()
map
is
empty
. The only difference to TransactionContext.getMap()
.
isEmpty()
this method allows to avoid creating a map
in case of lazy allocation in TransactionContext.getMap()
just to determine that it
is empty.isEmpty
in interface TransactionContext
true
if the map
is empty,
false
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.