|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.cms.installer.ServiceInstaller
Provides methods to install the CMS Service application, which is used by the Content Management System as a store for global resources and assets.
Field Summary | |
static String |
PACKAGE_KEY
|
static String |
versionId
|
Constructor Summary | |
ServiceInstaller()
|
Method Summary | |
protected static com.arsdigita.kernel.PackageInstance |
createPackageInstance()
Create an instance of the CMS service package type. |
protected static com.arsdigita.kernel.PackageType |
createPackageType()
Create the CMS services package type. |
protected static com.arsdigita.kernel.SiteNode |
mountPackageInstance(com.arsdigita.kernel.PackageInstance instance,
String location)
Mount the CMS services package instance. |
void |
onCreate(com.arsdigita.kernel.PackageInstance pkg)
This method is called when a new package instance is created. |
void |
onDelete(com.arsdigita.kernel.PackageInstance pkg)
Describe onDelete method here. |
void |
onMount(com.arsdigita.kernel.SiteNode siteNode,
com.arsdigita.kernel.PackageInstance pkg)
This method is called when a package instance is mounted on a siteNode. |
void |
onUnmount(com.arsdigita.kernel.SiteNode siteNode,
com.arsdigita.kernel.PackageInstance pkg)
This method is called when a package instance is unmounted from a siteNode. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
public static final String PACKAGE_KEY
Constructor Detail |
public ServiceInstaller()
Method Detail |
protected static com.arsdigita.kernel.PackageType createPackageType() throws com.arsdigita.domain.DataObjectNotFoundException
com.arsdigita.domain.DataObjectNotFoundException
protected static com.arsdigita.kernel.PackageInstance createPackageInstance() throws com.arsdigita.domain.DataObjectNotFoundException
com.arsdigita.domain.DataObjectNotFoundException
protected static com.arsdigita.kernel.SiteNode mountPackageInstance(com.arsdigita.kernel.PackageInstance instance, String location)
instance
- The package instancelocation
- The URL where the package instance will be mounted
public void onMount(com.arsdigita.kernel.SiteNode siteNode, com.arsdigita.kernel.PackageInstance pkg)
onMount
in interface com.arsdigita.kernel.PackageEventListener
siteNode
- The SiteNode where the instance is mounted.pkg
- The instance being mounted.public void onUnmount(com.arsdigita.kernel.SiteNode siteNode, com.arsdigita.kernel.PackageInstance pkg)
onUnmount
in interface com.arsdigita.kernel.PackageEventListener
siteNode
- The SiteNode where the instance is mounted.pkg
- The instance being unmounted.public void onCreate(com.arsdigita.kernel.PackageInstance pkg)
onCreate
in interface com.arsdigita.kernel.PackageEventListener
pkg
- a PackageInstance
valuepublic void onDelete(com.arsdigita.kernel.PackageInstance pkg)
onDelete
method here.
onDelete
in interface com.arsdigita.kernel.PackageEventListener
pkg
- a PackageInstance
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |