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

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.osgi.service.url.AbstractURLStreamHandlerService
          extended by org.camunda.bpm.extension.osgi.url.bpmn.BpmnURLHandler
All Implemented Interfaces:
org.osgi.service.url.URLStreamHandlerService

public class BpmnURLHandler
extends org.osgi.service.url.AbstractURLStreamHandlerService

A URL handler to transform a BPMN xml definition into an osgi bundle

Author:
Guillaume Nodet

Nested Class Summary
 class BpmnURLHandler.Connection
           
 
Field Summary
 
Fields inherited from class org.osgi.service.url.AbstractURLStreamHandlerService
realHandler
 
Constructor Summary
BpmnURLHandler()
           
 
Method Summary
 URL getBpmnXmlURL()
           
 URLConnection openConnection(URL url)
          Open the connection for the given URL.
 
Methods inherited from class org.osgi.service.url.AbstractURLStreamHandlerService
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.net.URLStreamHandler
openConnection, parseURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BpmnURLHandler

public BpmnURLHandler()
Method Detail

openConnection

public URLConnection openConnection(URL url)
                             throws IOException
Open the connection for the given URL.

Specified by:
openConnection in interface org.osgi.service.url.URLStreamHandlerService
Specified by:
openConnection in class org.osgi.service.url.AbstractURLStreamHandlerService
Parameters:
url - the url from which to open a connection.
Returns:
a connection on the specified URL.
Throws:
IOException - if an error occurs or if the URL is malformed.

getBpmnXmlURL

public URL getBpmnXmlURL()


Copyright © 2015 camunda services GmbH. All rights reserved.