org.apache.felix.fileinstall
Interface ArtifactListener
- All Known Subinterfaces:
- ArtifactInstaller, ArtifactTransformer, ArtifactUrlTransformer
- All Known Implementing Classes:
- BundleTransformer, ConfigInstaller
public interface ArtifactListener
Interface representing a custom deployment mechanism.
Classes must implement one of its sub-interface, either
ArtifactTransformer or
ArtifactInstaller.
|
Method Summary |
boolean |
canHandle(java.io.File artifact)
Returns true if the listener can process the given artifact. |
canHandle
boolean canHandle(java.io.File artifact)
- Returns true if the listener can process the given artifact.
Error occuring when checking the artifact should be catched
and not be thrown.
- Parameters:
artifact - the artifact to check
- Returns:
true if this listener supports
the given artifact, false otherwise
Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.