public class

ComponentInitializationContextImpl

extends Object
implements ComponentInitializationContext
java.lang.Object
   ↳ com.microstrategy.web.app.ComponentInitializationContextImpl

Class Overview

This class implements the ComponentInitializationContext interface.

Summary

Public Constructors
ComponentInitializationContextImpl()
Public Methods
boolean containsComponent(String name, String beanType)
This method returns true if a bean with the given name and type has already beencreated.
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.
void storeComponent(WebComponent webComponent, String beanType)
This method stores in the context object a WebComponent instance.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.web.app.ComponentInitializationContext

Public Constructors

public ComponentInitializationContextImpl ()

Public Methods

public boolean containsComponent (String name, String beanType)

This method returns true if a bean with the given name and type has already beencreated.

Parameters
name The name given to the bean
beanType The bean's type name (ex: "ReportBean").
Returns
  • boolean true if the bean exists.

public 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.

Parameters
name The name given to the bean
beanType The bean's type name (ex: "ReportBean").
Returns

public void storeComponent (WebComponent webComponent, String beanType)

This method stores in the context object a WebComponent instance.

Parameters
webComponent the WebComponent instance to store.
beanType The bean's type name (ex: "ReportBean").