|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.ear.lib.EarDeployerLog
Class which permits to store or load the association between the name of an ear and the timestamped dir associated.
Constructor Summary | |
EarDeployerLog(java.io.File logFile)
Constructor for the deployerLog. |
Method Summary | |
java.util.Vector |
addEntry(java.lang.String fileName,
java.net.URL earUnpackedDirectory)
Add the entry and return the new entries |
java.util.Vector |
getEntries()
Return the entries of the file. |
java.util.Vector |
removeEntry(EarLogEntry entry)
Remove the given entry and return the entries of the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EarDeployerLog(java.io.File logFile) throws EarDeployerLogException
logFile
- the file which is used for read/write entries
EarDeployerLogException
- if the loadentries failed.Method Detail |
public java.util.Vector getEntries()
public java.util.Vector removeEntry(EarLogEntry entry) throws EarDeployerLogException
entry
- the EarLogEntry which must be remove.
EarDeployerLogException
- if the remove can't be donepublic java.util.Vector addEntry(java.lang.String fileName, java.net.URL earUnpackedDirectory) throws EarDeployerLogException
fileName
- the name of the ear fileearUnpackedDirectory
- the timestamped directory
EarDeployerLogException
- if the add can't be done
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |