|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Field Summary |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
URL |
get(URL url)
Get the stored URL for the given deployment URL. |
File |
getDirectory()
Returns the local directory where cache data is stored. |
String |
getDirectoryName()
Get the name of the local directory where cache data is stored. |
URL |
put(URL url)
Put a deployment URL into storage. |
void |
setDirectory(File dir)
Set the local directory where cache data will be stored. |
void |
setDirectoryName(String dirname)
Set the name of the local directory where cache data will be stored. |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Method Detail |
public void setDirectory(File dir) throws IOException
dir
- The local directory where cache data will be stored.
IOException
- File not found, not a directory, can't write...public File getDirectory()
public void setDirectoryName(String dirname) throws IOException
Invokes setDirectory(java.io.File)
.
dirname
- The name of the local directory where cache data will be stored.
IOException
- File not found, not a directory, can't write...public String getDirectoryName()
public URL get(URL url)
DeploymentStoreMBean
get
in interface DeploymentStoreMBean
url
- The original deployment URL.
public URL put(URL url) throws Exception
DeploymentStoreMBean
If there is already a stored URL it will be overwritten.
put
in interface DeploymentStoreMBean
url
- The original deployment URL.
Exception
- Failed to put deployment URL into the store.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |