Class SharedObjects
Object
SharedObjects
Objects shared between different components.
This provides a memory between particular processing components, offering a variable state.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLogger and other common configuration<T> NamedProviderStore<T> getOrCreate(Class<?> key) Gets an existing store, or creates a new one
-
Constructor Details
-
SharedObjects
Creates a newSharedObjectsinstance.- Parameters:
context- Logger and other common configuration
-
-
Method Details
-
getOrCreate
Gets an existing store, or creates a new one- Type Parameters:
T- type of item in store- Parameters:
key- unique-identifier for the store- Returns:
- an existing-store, or a newly-created one
-
getContext
Logger and other common configuration
-