public interface ComponentsStorage
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears internal storage
|
Object |
getComponent(String name)
Gets stored component
|
Object |
getSynchronizationObject()
Object to synchronize to, to guarantee that components are not created twice for same scope.
|
void |
setComponent(String name,
Object component)
Save a component to the storage.
|
void setComponent(String name, Object component)
name
- Component namecomponent
- Component to saveObject getComponent(String name)
name
- Component namevoid clear()
Object getSynchronizationObject()
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.