public final class SampleSingleton extends Object
Registry.getSingleton(de.hybris.platform.util.SingletonCreator.Creator) and SingletonCreator.
Please note that using these singletons requires a active tenant. Normally this is done automatically by the
HybrisInitFilter. If you're starting own threads or use it outside web application scope see
Registry upon how to activate and deactivate a tenant.
| Modifier and Type | Method and Description |
|---|---|
void |
cache(String key,
Object value) |
Object |
get(String key) |
static SampleSingleton |
getInstance()
Public instance getter.
|
public static SampleSingleton getInstance()
Copyright © 2017 SAP SE. All Rights Reserved.