TrueUpdate Manager Specification 0.7.1

net.java.trueupdate.manager.spec
Interface UpdateManager


public interface UpdateManager

An update manager cooperates with update agents to automatically install updates to an application. All communication between the update agent and the update manager is asynchronous.

Implementations must be thread-safe.

Author:
Christian Schlichtherle

Method Summary
 void checkForUpdates()
          Checks for updates and notifies the subscribed agents.
 void close()
          Stops this update manager.
 

Method Detail

checkForUpdates

void checkForUpdates()
                     throws Exception
Checks for updates and notifies the subscribed agents.

Throws:
Exception

close

void close()
           throws Exception
Stops this update manager. This method is idempotent. However, it's the caller's responsibility to make sure that this update manager isn't used anymore after the call to this method, even if it fails.

Throws:
Exception

TrueUpdate Manager Specification 0.7.1

Copyright © 2013 Schlichtherle IT Services. All rights reserved.