| java.lang.Object | ||
| ↳ | com.microstrategy.web.beans.AbstractLocalBeanFactory | |
| ↳ | com.microstrategy.web.app.beans.AppBeanFactory | |
AppBeanFactory is a factory class for instantiating beans in
the com.microstrategy.web.app.beans package. Note that most
methods on this class are deprecated; we now provide the
BeanFactory class for programmatic bean
creation. Please create beans using the
BeanFactory instead of using this class
directly.
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| WebComponent |
createBeanInstance(Class beanClass)
Create an instance of
beanClass. | ||||||||||
| String |
getBeanClassName(String beanName)
Resolve a bean type name to a fully qualified class name (ex:
"ReportBean" --> "com.microstrategy.web.beans.ReportBeanImpl").
| ||||||||||
| String |
getBeanPackage()
Returns the full name of the package associated with this factory
(ex: "com.microstrategy.web.beans").
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.beans.AbstractLocalBeanFactory
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.beans.LocalBeanFactory
| |||||||||||
This method is deprecated.
Reference bean interface classes directly rather than calling this method. If you
need to use reflection to get/set properties on a bean, consider using the
ReflectionHelper class.
Returns the main interface that an application bean implements.
Usually the bean implements an interface, and the methods of the implementation are protected,
while the methods of the interface are public. This returns the interface so the client
can use reflection to invoke the instance methods.
| appBeanType | the bean type to create based on the EnumSysBeanTypes enumeration values |
|---|
Returns an instance of the AppBeanFactory object. This is the only way
to get the factory object and is the entry point to the various App Beans.
AppBeanFactory instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a AdminBean object
AdminBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of an application bean.
| appBeanType | the bean type to create based on values from the EnumSysBeanTypes
enumeration |
|---|
AppComponent instance corresponding to the type sent in as parameter
This method is deprecated.
Use newBean(String) instead.
Returns an instance of AttributeFormsEditorBean.
AttributeFormsEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a AttributeFormsQualificationBean object.
AttributeFormsQualificationBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of ChangePasswordBean.
ChangePasswordBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ColorPickerEditorBean object.
ColorPickerEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ControlToolbarBean object/
ControlToolbarBean instanceReturns an instance of a DatasetObjectExplorerBean object.
DatasetObjectExplorerBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a DiagnosticsBean object
DiagnosticsBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of DirectExportBean.
DirectExportBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of DocumentFrameBean.
DocumentFrameBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a DrillEditorBean object.
DrillEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a DrillFilterEditorBean object.
DrillFilterEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ElementPickerBean object.
ElementPickerBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ExportBean object
ExportBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ExportOptionsEditorBean object.
ExportOptionsEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of FilterEditorBean.
FilterEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of FilterElementBean.
FilterElementBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a #FilterFrameBean object.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a FolderObjectExplorerBean object.
FolderObjectExplorerBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a FormatColorLinesTabBean object/
FormatColorLinesTabBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a FormatNumberTabBean object/
FormatNumberTabBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a FormatTabBean object/
FormatTabBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a FormatTabManagerBean object/
FormatTabManagerBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a FormatToolbarBean object/
FormatToolbarBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of FormulaBarBean.
FormulaBarBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of FunctionEditorBean.
FunctionEditorBean instance.Returns an instance of a ColorGradientEditorBean object.
ColorGradientEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a GraphFormatEditorBean object
GraphFormatEditorBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a GraphFormatToolbarBean object
GraphFormatToolbarBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of GridAutoStylesBean.
GridAutoStylesBean instance.Returns an instance of a GridColorGradientEditorBean object.
GridColorGradientEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a GridFormatEditorBean object
GridFormatEditorBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a GridFormatToolbarBean object
GridFormatToolbarBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a GroupPathBean object.
GroupPathBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a GroupbyPropertiesEditorBean object/
GroupbyPropertiesEditorBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of LoginBean.
LoginBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of LogoutBean.
LogoutBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of MetricQualLevelEditorBean.
MetricQualLevelEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a OMDCreateFolderBean object.
OMDCreateFolderBean instance.
This method is deprecated.
The ObjectBrowserBean has been replaced by ObjectBrowserManagerBean.
Use newObjectBrowserManager() instead
Returns an instance of a ObjectBrowserBean object.
ObjectBrowserBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ObjectBrowserManagerBean object/
ObjectBrowserManagerBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ObjectManipulationDialogBean object.
ObjectManipulationDialogBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a OptionsBean object.
OptionsBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a PDFBean object
PDFBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of PageComponent.
PageComponent instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a PageByBean object.
PageByBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a PreferencesBean object.
PreferencesBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a PrintBean object
PrintBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ProjectBrowser object.
ProjectBrowser instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of ProjectStatusBean.
ProjectStatusBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ProjectsBean object
ProjectsBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a PromptDetailsBean object.
PromptDetailsBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a PromptsContainerBean object.
PromptsContainerBean instance.Returns an instance of RWActionControlEditorBean.
RWActionControlEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of RWFrameBean.
RWFrameBean instance.
This method is deprecated.
no longer used by Web
Returns an instance of a RWProjectBrowserTabBean object/
RWProjectBrowserTabBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a RWWorkingSetBrowserTabBean object/
RWWorkingSetBrowserTabBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of ReportFrameBean.
ReportFrameBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ReportWorkingSetBrowserTabBean object.
ReportWorkingSetBrowserTabBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ResizeEditorBean object.
ResizeEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a SaveAsBean object.
SaveAsBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a SearchBean object.
SearchBean instance.Returns an instance of a SecondaryDataSourcesEditorBean object.
SecondaryDataSourcesEditorBean instance.
This method is deprecated.
An instance of ServletWebComponent can be created
directly.
Returns an instance of ServletWebComponent.
ServletWebComponent instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a SortEditorBean object.
SortEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a SubscriptionEditorBean object.
SubscriptionEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a SubtotalsEditorBean object.
SubtotalsEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a TabBean object
TabBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a TabManagerBean object/
TabManagerBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a TemplateFilterExecBean object.
TemplateFilterExecBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ToolbarBean object/
ToolbarBean instance
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a ToolbarSetBean object/
ToolbarSetBean instanceReturns an instance of a VisualizationsEditorBean object.
VisualizationsEditorBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a WizardBean object.
WizardBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a WizardStepBean object.
WizardStepBean instance.
This method is deprecated.
Use newBean(String) instead.
Returns an instance of a XDADataExplorerBean object.
XDADataExplorerBean instance.Create an instance of beanClass. This implementation simply
calls beanClass.newInstance(). Override this method in a
derived class to create instances of non-public bean classes.
Throws the same exceptions as newInstance().
| beanClass | The class of the desired bean. |
|---|
| IllegalAccessException | |
|---|---|
| InstantiationException |
Resolve a bean type name to a fully qualified class name (ex:
"ReportBean" --> "com.microstrategy.web.beans.ReportBeanImpl").
This implementation simply returns
getBeanPackage() + "." + beanName + "Impl". Override this
method to change the way bean type names are resolved to class names.
| beanName | Bean type name to resolve. |
|---|
beanName.
Returns the full name of the package associated with this factory (ex: "com.microstrategy.web.beans").