Package org.apache.karaf.deployer.spring
Class SpringDeploymentListener
- java.lang.Object
-
- org.apache.karaf.deployer.spring.SpringDeploymentListener
-
- All Implemented Interfaces:
org.apache.felix.fileinstall.ArtifactListener,org.apache.felix.fileinstall.ArtifactUrlTransformer
public class SpringDeploymentListener extends Object implements org.apache.felix.fileinstall.ArtifactUrlTransformer
A deployment listener that listens for spring xml applications and creates bundles for these.
-
-
Constructor Summary
Constructors Constructor Description SpringDeploymentListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(File artifact)protected StartElementgetRootElement(File artifact)URLtransform(URL artifact)
-
-
-
Method Detail
-
canHandle
public boolean canHandle(File artifact)
- Specified by:
canHandlein interfaceorg.apache.felix.fileinstall.ArtifactListener
-
transform
public URL transform(URL artifact)
- Specified by:
transformin interfaceorg.apache.felix.fileinstall.ArtifactUrlTransformer
-
getRootElement
protected StartElement getRootElement(File artifact) throws Exception
- Throws:
Exception
-
-