Package org.wso2.carbon.event.sink
Class EventSinkDeployer
java.lang.Object
org.apache.axis2.deployment.AbstractDeployer
org.wso2.carbon.event.sink.EventSinkDeployer
- All Implemented Interfaces:
org.apache.axis2.deployment.Deployer
public class EventSinkDeployer
extends org.apache.axis2.deployment.AbstractDeployer
Axis2 deployer which deploys event sinks
-
Field Summary
Fields inherited from class org.apache.axis2.deployment.AbstractDeployer
deploymentFileDataMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()voiddeploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) Deploys event sink specified by deploymentFileData.voidinit(org.apache.axis2.context.ConfigurationContext configurationContext) voidvoidvoidUndeploys previously deployed event sink artifact.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis2.deployment.Deployer
sort
-
Constructor Details
-
EventSinkDeployer
public EventSinkDeployer()
-
-
Method Details
-
init
public void init(org.apache.axis2.context.ConfigurationContext configurationContext) -
deploy
public void deploy(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) throws org.apache.axis2.deployment.DeploymentException Deploys event sink specified by deploymentFileData. This is called whenever an event sink artifact is added, modified, deleted from the event sink artifact directory- Specified by:
deployin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
deployin classorg.apache.axis2.deployment.AbstractDeployer- Parameters:
deploymentFileData- File data about the event sink artifact to be deployed- Throws:
org.apache.axis2.deployment.DeploymentException
-
setDirectory
-
setExtension
-
undeploy
Undeploys previously deployed event sink artifact. This is called whenever an event sink artifact is deleted from event sink artifact directory. Also, this is called when an already existing artifact is modified, followed by a call to deploy()- Specified by:
undeployin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
undeployin classorg.apache.axis2.deployment.AbstractDeployer- Parameters:
fileName- File name of the artifact to be undeployed- Throws:
org.apache.axis2.deployment.DeploymentException
-
cleanup
public void cleanup() throws org.apache.axis2.deployment.DeploymentException- Specified by:
cleanupin interfaceorg.apache.axis2.deployment.Deployer- Overrides:
cleanupin classorg.apache.axis2.deployment.AbstractDeployer- Throws:
org.apache.axis2.deployment.DeploymentException
-