| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private static final Map | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public void | |
| public Object | Returns: - Either the newly produced instance or the existing instance.- The type of the object to be created type, Supplier<Object> - A supplier)Supplier that should be used to produce a new instance
|
| public static ObjectBag | |
| public static ObjectBag |
| bag | back to summary |
|---|---|
| private final Map<Class<?>, Object> bag | |
| instances | back to summary |
|---|---|
| private static final Map<UUID, ObjectBag> instances | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| ObjectBag | back to summary |
|---|---|
| public ObjectBag() | |
| cleanup | back to summary |
|---|---|
| public static void cleanup(ISuite suite) | |
| cleanup | back to summary |
|---|---|
| public void cleanup() | |
| createIfRequired | back to summary |
|---|---|
| public Object createIfRequired(Class<?> type, Supplier<Object> supplier) | |
| getInstance | back to summary |
|---|---|
| public static ObjectBag getInstance(ISuite suite) | |
| getInstance | back to summary |
|---|---|
| public static ObjectBag getInstance(XmlSuite xmlSuite) | |