org.objectweb.jonas_lib.files
Class WsGenChecker
java.lang.Object
org.objectweb.jonas_lib.files.WsGenChecker
public class WsGenChecker
- extends Object
Check if a file has been WsGen-ized.
If not, apply WsGen on it and return the new archive name.
- Author:
- Guillaume Sauthier
Method Summary |
String |
checkWsGen(String domainName)
Check that WsGen have been applied on the given file
If it was not done, it run WsGen against the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsGenChecker
public WsGenChecker(String filename,
ObjectName j2eeServerON,
MBeanServer jmxServer)
- Creates a new Chceker for WsGen
- Parameters:
ms
- MBeanServer to usefilename
- file to be checkedj2eeServerON
- J2EEServer ObjectName
checkWsGen
public String checkWsGen(String domainName)
throws CheckerException
- Check that WsGen have been applied on the given file
If it was not done, it run WsGen against the file.
- Parameters:
domainName
- the domain name
- Returns:
- Returns the path to the modified archive
- Throws:
CheckerException
- FIXME
Copyright © 2007 OW2 Consortium. All Rights Reserved.