org.apache.karaf.deployer.blueprint
Class BlueprintDeploymentListener

java.lang.Object
  extended by org.apache.karaf.deployer.blueprint.BlueprintDeploymentListener
All Implemented Interfaces:
org.apache.felix.fileinstall.ArtifactListener, org.apache.felix.fileinstall.ArtifactUrlTransformer

public class BlueprintDeploymentListener
extends java.lang.Object
implements org.apache.felix.fileinstall.ArtifactUrlTransformer

A deployment listener that listens for spring xml applications and creates bundles for these.


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

Constructor Detail

BlueprintDeploymentListener

public BlueprintDeploymentListener()
Method Detail

canHandle

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

transform

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

parse

protected org.w3c.dom.Document parse(java.io.File artifact)
                              throws Exception
Throws:
Exception


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.