com.microstrategy.web.app.ComponentInitializationContext |
![]() |
This interface defines a way that the application can save components between the request boundaries.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
containsComponent(String name, String beanType)
This method returns true if a bean with the given name and type has
already been created.
| ||||||||||
abstract WebComponent |
getComponent(String name, String beanType)
Returns a WebComponent if it has been created previously and matches both
name and type; null if the bean is not found.
| ||||||||||
abstract void |
storeComponent(WebComponent webComponent, String beanType)
This method stores in the context object a WebComponent intance.
|
This method returns true if a bean with the given name and type has already been created.
name | The name given to the bean |
---|---|
beanType | The bean's type name (ex: "ReportBean"). |
Returns a WebComponent if it has been created previously and matches both name and type; null if the bean is not found.
name | The name given to the bean |
---|---|
beanType | The bean's type name (ex: "ReportBean"). |
WebComponent
instance if the bean exists.This method stores in the context object a WebComponent intance.
webComponent | the WebComponent instance to store. |
---|---|
beanType | The bean's type name (ex: "ReportBean"). |