|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for listening to the events of a package listener.
Package Listeners are registered according to PackageTypes using
the addListener()
method.
Note: The APIs for this class have not been reviewed and are
subject to change after review.
PackageType.addListener(java.lang.String)
Field Summary | |
static String |
versionId
|
Method Summary | |
void |
onCreate(PackageInstance pkg)
Called when a new package instance is created. |
void |
onDelete(PackageInstance pkg)
Describe onDelete method here. |
void |
onMount(SiteNode siteNode,
PackageInstance pkg)
Called when a package instance is mounted on a siteNode. |
void |
onUnmount(SiteNode siteNode,
PackageInstance pkg)
Called when a package instance is unmounted from a siteNode. |
Field Detail |
public static final String versionId
Method Detail |
public void onMount(SiteNode siteNode, PackageInstance pkg)
siteNode
- the SiteNode where the instance is mountedpkg
- the instance being mountedpublic void onUnmount(SiteNode siteNode, PackageInstance pkg)
siteNode
- the SiteNode where the instance is mountedpkg
- the instance being unmountedpublic void onCreate(PackageInstance pkg)
pkg
- a PackageInstance valuepublic void onDelete(PackageInstance pkg)
pkg
- a PackageInstance value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |