org.camunda.bpm.extension.osgi.url.bpmn
Class BpmnDeploymentListener

java.lang.Object
  extended by org.camunda.bpm.extension.osgi.url.bpmn.BpmnDeploymentListener
All Implemented Interfaces:
org.apache.felix.fileinstall.ArtifactListener, org.apache.felix.fileinstall.ArtifactUrlTransformer

public class BpmnDeploymentListener
extends Object
implements org.apache.felix.fileinstall.ArtifactUrlTransformer

A fileinstall deployer transforming a BPMN xml definition file into an installable bundle.

Author:
Guillaume Nodet

Constructor Summary
BpmnDeploymentListener()
           
 
Method Summary
 boolean canHandle(File artifact)
           
protected  Document parse(File artifact)
           
 URL transform(URL artifact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BpmnDeploymentListener

public BpmnDeploymentListener()
Method Detail

canHandle

public boolean canHandle(File artifact)
Specified by:
canHandle in interface org.apache.felix.fileinstall.ArtifactListener

transform

public URL transform(URL artifact)
Specified by:
transform in interface org.apache.felix.fileinstall.ArtifactUrlTransformer

parse

protected Document parse(File artifact)
                  throws Exception
Throws:
Exception


Copyright © 2015 camunda services GmbH. All rights reserved.