public class ServiceStore extends Object
Job
s or other objects within this limited classpath to acquire them
from a single location.Modifier and Type | Method and Description |
---|---|
Object |
clone() |
static ServiceStore |
getInstance() |
Object |
getObject(String key) |
void |
setObject(Object object)
Stores objects based on their interface
|
public static ServiceStore getInstance()
ServiceStore
public void setObject(Object object)
object
- implementation of at least one interfacepublic Object getObject(String key)
key
- fully qualified interface namepublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
This work is licensed under a Creative Commons Attribution 4.0 International License.