|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This class is to provide for event notifications whenever a parent container changes. Event Handers should work hard to be 'quick' about their processing so that they don't hold up the hold system while events are getting handled
Also Please Note: Implementers of the Container Listener should ideally have their event handlers marked synchronized.
| Method Summary | |
void |
onAdd(ExpressoComponent newComponent)
Called whenever a new component is added to the container. |
void |
onInstall(ExpressoComponent installingComponent,
InstallLog log)
Called whenever a component is installed into a component container. |
void |
onRemove(ExpressoComponent removingComponent)
Called whenever a component is removed from the container. |
void |
onUninstall(ExpressoComponent uninstallComponent,
InstallLog log)
Called whenever a component is uninstalled from the ComponentContainer |
| Method Detail |
public void onAdd(ExpressoComponent newComponent)
throws ContainerVetoException
newComponent - the new component instance getting installed.
ContainerVetoException - if the component should NOT be installed
for some reason or another.
public void onRemove(ExpressoComponent removingComponent)
throws ContainerVetoException
removingComponent - The component being removed
ContainerVetoException
public void onInstall(ExpressoComponent installingComponent,
InstallLog log)
installingComponent - the component that is getting installedlog - The InstallLog that allows us to do any final 'output notes'
public void onUninstall(ExpressoComponent uninstallComponent,
InstallLog log)
uninstallComponent - the component that is getting uninstalledlog - The InstallLog that allows us to do any final 'output notes'
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||