'Can we access to a list of available contexts to an object in java?
We know that we have many types of context in java.
Regardless of what these types can do and where to use them, i want to know is there any way to get a list of available current contexts programmatically?
assume that a client calls a transactional web service. this service calls a method in EJB and so on. in the chain of invocations container create some type of contexts. with this assumption i want to know what type of context is available to use in current EJB(or any other object in the chain of method invocations).
is there any solution for this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
