Public Member Functions | |
| void | onRegister (in tmozIException tmozException) |
| Called on component registration. | |
| void | onUnregister () |
| Called on component unregistration. | |
| void | onActivateDomain (in tmozIDomain aDomain, in tmozIException tmozException) |
| Called on domain activation. | |
| void | onDeactivateDomain (in tmozIDomain aDomain) |
| Called on domain deactivation. | |
Public Attributes | |
| readonly attribute AString | name |
| Name of the component. | |
Each shared component have to implement this interface.
| void onActivateDomain | ( | in tmozIDomain | aDomain, | |
| in tmozIException | tmozException | |||
| ) |
Called on domain activation.
Method is called by framework when domain is activated. This method is called when basic frame is constructed and before any domain specific component initialization.
| aDomain | Activated domain |
| tmozException | If initialization fail component should throw exception and set error description in the tmozException object. |
| void onDeactivateDomain | ( | in tmozIDomain | aDomain | ) |
Called on domain deactivation.
Method is called by framework when domain is deactivated.
| aDomain | Deactivated domain |
| void onRegister | ( | in tmozIException | tmozException | ) |
Called on component registration.
This method is called from the registrator and allows to initialize component. Do not call it directly.
| tmozException | Exception object to return any error state |
| tmozException | If initialization fail component should throw exception and set error description in the tmozException object. |
| void onUnregister | ( | ) |
Called on component unregistration.
This method is called by component registrator when component should unregister. Do not call this method directly.
This method should not failed or throw exception.
| readonly attribute AString name |
Name of the component.
Component name have to be unique.