org.jboss.deployment.cache
Interface DeploymentStore

All Known Implementing Classes:
FileDeploymentStore

public interface DeploymentStore

Provides the interface for abstracting the actual storage of cached deployments.

Version:
$Revision: 1.3.6.1 $
Author:
Jason Dillon

Method Summary
 URL get(URL url)
          Get the stored URL for the given deployment URL.
 URL put(URL url)
          Put a deployment URL into storage.
 

Method Detail

get

URL get(URL url)
        throws Exception
Get the stored URL for the given deployment URL.

Parameters:
url - The original deployment URL.
Returns:
The stored URL or null if not stored.
Throws:
Exception - Failed to get deployment URL from the store.

put

URL put(URL url)
        throws Exception
Put a deployment URL into storage. This will cause the data associated with the given URL to be downloaded.

If there is already a stored URL it will be overwritten.

Parameters:
url - The original deployment URL.
Returns:
The stored URL.
Throws:
Exception - Failed to put deployment URL into the store.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.