| Modifier and Type | Method and Description |
|---|---|
| public void | endContext()
Invoked by the Jakarta EE Product Provider to remove the thread context that
the |
| endContext | back to summary |
|---|---|
| public void endContext() throws IllegalStateException Invoked by the Jakarta EE Product Provider to remove the thread context that
the Typically, patterns such as the following will be observed: restorerA1 = contextA_snapshot1.begin(); restorerB1 = contextB_snapshot1.begin(); restorerC1 = contextC_snapshot1.begin(); ... restorerC1.endContext(); restorerB1.endContext(); restorerA1.endContext();However, more advanced sequences such as the following are also valid: restorerA1 = contextA_snapshot1.begin(); restorerB1 = contextB_snapshot1.begin(); ... restorerC1 = contextC_snapshot1.begin(); ... restorerC1.endContext(); ... restorerB2 = contextB_snapshot2.begin(); restorerC2 = contextC_snapshot2.begin(); ... restorerC2.endContext(); restorerB2.endContext(); ... restorerB1.endContext(); restorerA1.endContext();
| |