public class SharedObjects extends Object
This provides a memory between particular processing components, offering a variable state.
Constructor and Description |
---|
SharedObjects(CommonContext context) |
Modifier and Type | Method and Description |
---|---|
CommonContext |
getContext()
Logger and other common configuration
|
<T> NamedProviderStore<T> |
getOrCreate(Class<?> key)
Gets an existing store, or creates a new one
|
public SharedObjects(CommonContext context)
public <T> NamedProviderStore<T> getOrCreate(Class<?> key)
T
- type of item in storekey
- unique-identifier for the storepublic CommonContext getContext()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.