All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.mb.MBInstanceImpl

java.lang.Object
   |
   +----com.ibm.beans.mb.MBInstanceImpl

public class MBInstanceImpl
extends Object
implements MBInstanceInterface, Serializable
The MBInstanceImpl class is an implementation of the MBInstanceInterface interface and returns instantiations of beans and miscellaneous bean information.

See Also:
ManagedBean, MBInstanceInterface

Constructor Index

 o MBInstanceImpl(ManagedBean)
Constructs an implementation of the MBInstanceInterface interface.

Method Index

 o getBeanCustomizerInstance()
Gets the Customizer associated with the ManagedBean.
 o getBeanInfoInstance()
Gets the BeanInfo associated with the ManagedBean.
 o getBeanInstance()
Gets the bean associated with the ManagedBean.
 o getDelegator()
Gets the ManagedBean that is delegating work to this instance of MBInstanceImpl.
 o getIconInstance(int)
Gets the icon associated with the ManagedBean.
 o setDelegator(ManagedBean)
Sets the ManagedBean that is delegating work to this instance of MBInstanceImpl.

Constructors

 o MBInstanceImpl
 public MBInstanceImpl(ManagedBean delegator)
Constructs an implementation of the MBInstanceInterface interface.

Parameters:
delegator - The ManagedBean that is delegating work to this object.
See Also:
ManagedBean, MBInstanceInterface

Methods

 o getIconInstance
 public Image getIconInstance(int iconKind)
Gets the icon associated with the ManagedBean.

Parameters:
iconKind - The kind of icon requested. This should be one of the constant values:
  • BeanInfo.ICON_COLOR_16x16
  • BeanInfo.ICON_COLOR_32x32
  • BeanInfo.ICON_MONO_16x16
  • BeanInfo.ICON_MONO_32x32
Returns:
The icon associated with the ManagedBean.
See Also:
Image, MBInstanceImpl
 o getBeanInstance
 public Object getBeanInstance()
Gets the bean associated with the ManagedBean.

Returns:
The bean associated with the ManagedBean
See Also:
Object, MBInstanceImpl
 o getBeanInfoInstance
 public BeanInfo getBeanInfoInstance()
Gets the BeanInfo associated with the ManagedBean.

Returns:
The BeanInfo associated with the ManagedBean.
See Also:
BeanInfo, MBInstanceImpl
 o getBeanCustomizerInstance
 public Customizer getBeanCustomizerInstance()
Gets the Customizer associated with the ManagedBean.

Returns:
The Customizer associated with the ManagedBean.
See Also:
Customizer, MBInstanceImpl
 o getDelegator
 public ManagedBean getDelegator()
Gets the ManagedBean that is delegating work to this instance of MBInstanceImpl.

Returns:
The ManagedBean that is delegating work to this instance of MBInstanceImpl.
 o setDelegator
 public void setDelegator(ManagedBean delegator)
Sets the ManagedBean that is delegating work to this instance of MBInstanceImpl.

Parameters:
delegator - The ManagedBean that is delegating work to this instance of MBInstanceImpl.

All Packages  Class Hierarchy  This Package  Previous  Next  Index