class BackgroundActionRegistry extends Collection<BackgroundAction> implements BackgroundActionListener {

    public synchronized BackgroundAction getCurrent() {
        final Iterator<BackgroundAction> iter = running.iterator();
        if(iter.hasNext()) {
            return iter.next();
        }
        return null;
    }

    public  BackgroundActionRegistry();

}