[cdi-dev] Question about conversation.begin if transient
Adrian Gonzalez
adr_gonzalez at yahoo.fr
Thu Dec 15 11:24:08 EST 2011
Hello,
This question has surely already been asked, but I'm looking over and over the following code :
if (conversation.isTransient()) {
conversation.begin();
}
Is it possible to create a single method in Conversation class to handle this ?
Something like conversation.beginIfTransient() ? (of course with a better name :) ).
WDYT ?
More information about the cdi-dev
mailing list