站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 system API Documentation 英文版文档

DeploymentStore (JBoss System API) - JBoss 3.2.7 system API Documentation 英文版文档


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.1.4.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

public 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

public 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.