org.apache.karaf.deployer.spring
Class SpringDeploymentListener

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

public class SpringDeploymentListener
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
SpringDeploymentListener()
           
 
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

SpringDeploymentListener

public SpringDeploymentListener()
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.