Class EmptyContext
- java.lang.Object
-
- org.kie.internal.runtime.manager.context.EmptyContext
-
- All Implemented Interfaces:
org.kie.api.runtime.manager.Context<String>
public class EmptyContext extends Object implements org.kie.api.runtime.manager.Context<String>
Default implementation ofContextinterface that does not bring any specifics to the RuntimeManager and is usually used for instances of manager that does not deal with contextual information:- Singleton
- PerRequest
get()method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCONTEXT_IDprotected static org.kie.api.runtime.manager.Context<String>INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protectedEmptyContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.kie.api.runtime.manager.Context<String>get()Returns instances of the empty context.StringgetContextId()
-
-
-
Field Detail
-
CONTEXT_ID
protected static final String CONTEXT_ID
- See Also:
- Constant Field Values
-
INSTANCE
protected static final org.kie.api.runtime.manager.Context<String> INSTANCE
-
-