Package com.oracle.coherence.spring
Class CoherenceContext
java.lang.Object
com.oracle.coherence.spring.CoherenceContext
A utility class to capture the
ApplicationContext
so that it is available to Coherence classes that are not
managed by Spring.- Since:
- 3.0
- Author:
- Ryan Lubke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationContext
Returns theApplicationContext
.static void
Set the globalApplicationContext
.
-
Constructor Details
-
CoherenceContext
Create aCoherenceContext
.- Parameters:
ctx
- theApplicationContext
-
-
Method Details
-
getApplicationContext
Returns theApplicationContext
.- Returns:
- the
ApplicationContext
-
setApplicationContext
Set the globalApplicationContext
.- Parameters:
ctx
- theApplicationContext
to be used by Coherence classes
-