org.apache.karaf.deployer.wrap
Class WrapDeploymentListener

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

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

A deployment listener that listens for non OSGi jar deployements.

Author:
jbonofre

Constructor Summary
WrapDeploymentListener()
           
 
Method Summary
 boolean canHandle(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

WrapDeploymentListener

public WrapDeploymentListener()
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)
                       throws Exception
Specified by:
transform in interface org.apache.felix.fileinstall.ArtifactUrlTransformer
Throws:
Exception


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