*/
private void registerDeployer(AxisConfiguration axisConfig, SynapseEnvironment synapseEnvironment)
throws SequenceEditorException {
SynapseConfiguration synCfg = synapseEnvironment.getSynapseConfiguration();
DeploymentEngine deploymentEngine = (DeploymentEngine) axisConfig.getConfigurator();
SynapseArtifactDeploymentStore deploymentStore = synCfg.getArtifactDeploymentStore();
String synapseConfigPath = ServiceBusUtils.getSynapseConfigAbsPath(
synapseEnvironment.getServerContextInformation());
String sequenceDirPath = synapseConfigPath
+ File.separator + MultiXMLConfigurationBuilder.SEQUENCES_DIR;
for (SequenceMediator seq : synCfg.getDefinedSequences().values()) {
if (seq.getFileName() != null) {
deploymentStore.addRestoredArtifact(
sequenceDirPath + File.separator + seq.getFileName());
}
}
deploymentEngine.addDeployer(new SequenceDeploymentInterceptor(),
sequenceDirPath, ServiceBusConstants.ARTIFACT_EXTENSION);