org.jvending.provisioning.stocking.filter
Class BundleFilter

java.lang.Object
  extended by org.jvending.provisioning.stocking.filter.BundleFilter
All Implemented Interfaces:
StockingFilter
Direct Known Subclasses:
JnlpFilter, MimeTypeFilter

public abstract class BundleFilter
extends java.lang.Object
implements StockingFilter

Base class for filtering out content from the PAR file. The extending class will provide the logic on which ClientBundle to filter.

Since:
1.3a
Author:
Shane Isbell

Field Summary
protected  FilterTask filterTask
           
 
Constructor Summary
BundleFilter()
           
 
Method Summary
 void doFilter(FilterTask filterTask)
          Uses the FilterTask to filter the content and to modify the provisioning archive descriptor.
abstract  void validateBundle(ClientBundle clientBundle, java.util.Map contentMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filterTask

protected FilterTask filterTask
Constructor Detail

BundleFilter

public BundleFilter()
Method Detail

doFilter

public void doFilter(FilterTask filterTask)
Description copied from interface: StockingFilter
Uses the FilterTask to filter the content and to modify the provisioning archive descriptor. This method may also choose to use StockingComponent.handleStockingEvent() to notify the provisioning framework of any modifications to the PAR file.

Specified by:
doFilter in interface StockingFilter

validateBundle

public abstract void validateBundle(ClientBundle clientBundle,
                                    java.util.Map contentMap)
                             throws ContentVerificationException,
                                    StockingException
Throws:
ContentVerificationException
StockingException


Copyright 2006 null. All Rights Reserved.