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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationContextReturns theApplicationContext.static voidSet the globalApplicationContext.
-
Constructor Details
-
CoherenceContext
Create aCoherenceContext.- Parameters:
ctx- theApplicationContext
-
-
Method Details
-
getApplicationContext
Returns theApplicationContext.- Returns:
- the
ApplicationContext
-
setApplicationContext
Set the globalApplicationContext.- Parameters:
ctx- theApplicationContextto be used by Coherence classes
-