org.exoplatform.services.deployment
Class DeploymentPlugin

java.lang.Object
  extended by org.exoplatform.services.deployment.DeploymentPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
Direct Known Subclasses:
XMLDeploymentPlugin

public abstract class DeploymentPlugin
extends Object
implements org.exoplatform.container.component.ComponentPlugin

Created by The eXo Platform SAS Author : Hoa Pham hoa.pham@exoplatform.com Sep 6, 2008


Field Summary
protected  org.exoplatform.container.xml.InitParams initParams
           
 
Constructor Summary
DeploymentPlugin()
           
DeploymentPlugin(org.exoplatform.container.xml.InitParams initParams)
           
 
Method Summary
abstract  void deploy(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          This method used to deploy data from sourcePath to target that describe in DeploymentDescriptor.
 String getDescription()
           
 String getName()
           
 String getSiteName()
          gets name of site in which data is deployed by this plugin
 boolean isOverride()
          indicates if this plugin will override old data every time server startups
 void setDescription(String s)
           
 void setName(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initParams

protected org.exoplatform.container.xml.InitParams initParams
Constructor Detail

DeploymentPlugin

public DeploymentPlugin()

DeploymentPlugin

public DeploymentPlugin(org.exoplatform.container.xml.InitParams initParams)
Method Detail

deploy

public abstract void deploy(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                     throws Exception
This method used to deploy data from sourcePath to target that describe in DeploymentDescriptor.

Throws:
Exception - the exception

getName

public String getName()
Specified by:
getName in interface org.exoplatform.container.component.ComponentPlugin

setName

public void setName(String s)
Specified by:
setName in interface org.exoplatform.container.component.ComponentPlugin

getDescription

public String getDescription()
Specified by:
getDescription in interface org.exoplatform.container.component.ComponentPlugin

setDescription

public void setDescription(String s)
Specified by:
setDescription in interface org.exoplatform.container.component.ComponentPlugin

isOverride

public boolean isOverride()
indicates if this plugin will override old data every time server startups


getSiteName

public String getSiteName()
gets name of site in which data is deployed by this plugin

Returns:


Copyright © 2013 eXo Platform SAS. All Rights Reserved.