java.lang.Object | ||
↳ | com.microstrategy.web.beans.AbstractLocalBeanFactory | |
↳ | com.microstrategy.web.beans.WebBeanFactory |
This class is a factory for instantiating various WebBean
or other
Transformable
compliant objects in the
com.microstrategy.web.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.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebBeanFactory()
Constructs a
WebBeanFactory with no parameter. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SecurityFilterBean |
createNewSecurityFilter()
This method is deprecated.
Call
newBean(String) to create a new
SecurityFilterBean , then call InitAsNew() on
the new bean instance. | ||||||||||
static Class |
getBeanInterface(int beanType)
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.
| ||||||||||
synchronized static WebBeanFactory |
getInstance()
Returns a singleton of the
WebBeanFactory . | ||||||||||
AddressListBean |
newAddressListBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
AttributeBean | newAttributeBean() | ||||||||||
BeanContext |
newBeanContext()
Instantiates a
BeanContext . | ||||||||||
DataExplorerBean |
newDataExplorerBean()
This method is deprecated.
Use
newBean(String) instead. | ||||||||||
DocumentBean |
newDocumentBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
ExpressionDisplayBean |
newExpressionDisplayBean()
This method is deprecated.
Use
newBean(String) instead. | ||||||||||
ExpressionObject |
newExpressionObject(WebExpression pExpression, BeanContext pContext)
Instantiates a
ExpressionObject . | ||||||||||
ExpressionObject |
newExpressionObject(WebExpression pExpression, BeanContext pContext, WebWorkingSet pWorkingSet)
nstantiates a
ExpressionObject . | ||||||||||
FolderBean |
newFolderBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
GraphBean |
newGraphBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
InboxBean |
newInboxBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
MarkupOutput |
newMarkupOutput(boolean encode)
Instantiates a
MarkupOutput . | ||||||||||
MarkupOutput |
newMarkupOutput()
Instantiates a
MarkupOutput . | ||||||||||
PromptDefinitionBean |
newPromptDefinitionBean()
This method is deprecated.
Use
newBean(String) instead. | ||||||||||
PromptsBean |
newPromptsBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
RWBean |
newRWBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
ReportBean |
newReportBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
ScheduleBean |
newScheduleBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
SecurityFilterBean |
newSecurityFilterBean()
This method is deprecated.
Use
newBean(String) instead. | ||||||||||
SecurityRoleBean |
newSecurityRoleBean()
This method is deprecated.
Use
newBean(String) instead. | ||||||||||
SubscriptionBean |
newSubscriptionBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
SubscriptionFolderBean |
newSubscriptionFolderBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
ThresholdExpressionBean |
newThresholdExpressionBean()
This method is deprecated.
Use
newBean(String) instead. | ||||||||||
UserBean |
newUserBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
UserEntitiesBean |
newUserEntitiesBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
UserGroupBean |
newUserGroupBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
UserSearchBean |
newUserSearchBean()
This method is deprecated.
Use
newBean(String) instead.
| ||||||||||
WebBean |
newWebBean(int webBeanType)
This method is deprecated.
Use
newBean(String) instead.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getBeanPackage()
Returns the full name of the package associated with this factory
(ex: "com.microstrategy.web.beans").
| ||||||||||
WebEventHandler |
getEventHandler(int type)
This method is deprecated.
To get the default event-handler associated with a bean, create a new
instance of that bean and call
getWebEventHandler .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a WebBeanFactory
with no parameter. It ensures
that this factory gets never instantiated outside.
This method is deprecated.
Call newBean(String)
to create a new
SecurityFilterBean
, then call InitAsNew()
on
the new bean instance.
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 java.lang.Class
object associated with each
type specific WebBean
.
beanType | the bean type of EnumWebTransformableType |
---|
java.lang.Class
associated with
each type specific WebBean
.Returns a singleton of the WebBeanFactory
.
This is the only entry point to gain access to various WebBean
and other Transformable
compliant objects.
WebBeanFactory
.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a AddressListBean
.
AddressListBean
instance.Instantiates a BeanContext
.
BeanContext
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a DataExplorerBean
.
DataExplorerBean
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a DocumentBean
.
DocumentBean
instance.Instantiates a ExpressionObject
.
pExpression | an instance of WebExpression from where
this ExpressionObject originates. |
---|---|
pContext | an instance of BeanContext . |
ExpressionObject
instance.
nstantiates a ExpressionObject
.
pExpression | an instance of WebExpression from where
this ExpressionObject originates. |
---|---|
pContext | an instance of BeanContext . |
pWorkingSet | an instance of WebWorkingSet . |
ExpressionObject
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a FolderBean
.
FolderBean
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a FolderBean
.
GraphBean
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a InboxBean
.
InboxBean
instance.Instantiates a MarkupOutput
.
encode | a boolean indicating whether encoding is needed for the makrupOutput implementation. |
---|
MarkupOutput
instance.
Instantiates a MarkupOutput
.
MarkupOutput
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a PromptsBean
.
PromptsBean
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a ReportBean
.
ReportBean
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a ScheduleBean
.
ScheduleBean
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a SubscriptionBean
.
SubscriptionBean
instance.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a SubscriptionFolderBean
.
SubscriptionFolderBean
instance.
This method is deprecated.
Use newBean(String)
instead.
Returns a new UserBean
.
UserBean
.
This method is deprecated.
Use newBean(String)
instead.
Returns a new UserEntitiesBean
.
UserEntitiesBean
.
This method is deprecated.
Use newBean(String)
instead.
Returns a new UserGroupBean
.
UserGroupBean
.
This method is deprecated.
Use newBean(String)
instead.
Returns a new UserSearchBean
.
UserSearchBean
.
This method is deprecated.
Use newBean(String)
instead.
Instantiates a type specific WebBean
with the specified bean
type.
webBeanType | the bean type from EnumWebTransformableType |
---|
WebBean
instance.Returns the full name of the package associated with this factory (ex: "com.microstrategy.web.beans").
This method is deprecated.
To get the default event-handler associated with a bean, create a new
instance of that bean and call getWebEventHandler
.
Instantiates a WebEventHandler
with the specified type.
type | an event handler type |
---|