org.apache.aries.application.management.spi.update
Interface UpdateStrategy


public interface UpdateStrategy

Plug point for update implementation


Nested Class Summary
static interface UpdateStrategy.UpdateInfo
          Representation for an update request
 
Method Summary
 boolean allowsUpdate(DeploymentMetadata newMetadata, DeploymentMetadata oldMetadata)
          Are the two deployments subject to update or do they require full reinstall
 void update(UpdateStrategy.UpdateInfo paramUpdateInfo)
          Update an application
 

Method Detail

allowsUpdate

boolean allowsUpdate(DeploymentMetadata newMetadata,
                     DeploymentMetadata oldMetadata)
Are the two deployments subject to update or do they require full reinstall


update

void update(UpdateStrategy.UpdateInfo paramUpdateInfo)
            throws UpdateException
Update an application

Throws:
UpdateException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.