KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > deployment > cache > DeploymentStoreMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.deployment.cache;
8
9 /**
10  * MBean interface.
11  * @todo Expose urls for cleaning
12  */

13 public interface DeploymentStoreMBean extends org.jboss.system.ServiceMBean
14 {
15
16    /**
17     * Get the stored URL for the given deployment URL.
18     * @param url The original deployment URL.
19     * @return The stored URL or null if not stored.
20     * @throws Exception Failed to get deployment URL from the store.
21     */

22    java.net.URL JavaDoc get(java.net.URL JavaDoc url) throws java.lang.Exception JavaDoc;
23
24    /**
25     * Put a deployment URL into storage. This will cause the data associated with the given URL to be downloaded. <p>If there is already a stored URL it will be overwritten.
26     * @param url The original deployment URL.
27     * @return The stored URL.
28     * @throws Exception Failed to put deployment URL into the store.
29     */

30    java.net.URL JavaDoc put(java.net.URL JavaDoc url) throws java.lang.Exception JavaDoc;
31
32 }
33
Popular Tags