org.objectweb.jonas_lib.files
Class WsGenChecker

java.lang.Object
  extended by 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

Constructor Summary
WsGenChecker(String filename, ObjectName j2eeServerON, MBeanServer jmxServer)
          Creates a new Chceker for WsGen
 
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
 

Constructor Detail

WsGenChecker

public WsGenChecker(String filename,
                    ObjectName j2eeServerON,
                    MBeanServer jmxServer)
Creates a new Chceker for WsGen

Parameters:
ms - MBeanServer to use
filename - file to be checked
j2eeServerON - J2EEServer ObjectName
Method Detail

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.