|
Dashboard Builder Commons 6.0.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dashboard.factory.GlobalComponentsStorage
public class GlobalComponentsStorage
Storage for global components.
| Constructor Summary | |
|---|---|
GlobalComponentsStorage()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalComponentsStorage()
| Method Detail |
|---|
public void setComponent(String name,
Object component)
ComponentsStorage
setComponent in interface ComponentsStoragename - Component namecomponent - Component to savepublic Object getComponent(String name)
ComponentsStorage
getComponent in interface ComponentsStoragename - Component name
public void clear()
ComponentsStorage
clear in interface ComponentsStoragepublic Object getSynchronizationObject()
ComponentsStorage
getSynchronizationObject in interface ComponentsStorage
|
Dashboard Builder Commons 6.0.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||